Skip to content

Instantly share code, notes, and snippets.

View SimpleZn's full-sized avatar

Simple.Z.N SimpleZn

  • 上海
View GitHub Profile
@SimpleZn
SimpleZn / snapShop.js
Created January 7, 2022 11:05 — forked from CoolCatsNFTPublic/snapShop.js
Snapshotting Opensea collections
async function snapShot(slug, address, totalTokens) {
const API_KEY = ""
// Step 1 - Pagination
const pages = Math.ceil(totalTokens / 50); // Paginate to account for OpenSea api call limits.
let offSet = 0;
let num = 0;
let totalOwned = 0;
let foundTokens = 0;

Keybase proof

I hereby claim:

  • I am simplezn on github.
  • I am zndream (https://keybase.io/zndream) on keybase.
  • I have a public key ASANKyW3ZFJOxsy8pP0KS_T2T09_iv5AzCVGRig34bCgsQo

To claim this, I am signing this object: