Skip to content

Instantly share code, notes, and snippets.

@caffeinum
Created October 7, 2021 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caffeinum/21a2f38fb59ce253a3fef77c45c3c051 to your computer and use it in GitHub Desktop.
Save caffeinum/21a2f38fb59ce253a3fef77c45c3c051 to your computer and use it in GitHub Desktop.
Pancake Swap NFT Marketplace get floor
// put breakpoint at etherscan VM:280
// use "res" variable
res.askInfo.map((i, index) => ({ ...i, tokenId: res.tokenIds[index], priceBNB: Number(i.price) / 1e18, link: `https://pancakeswap.finance/nfts/collections/0x0a8901b0E25DEb55A87524f0cC164E9644020EBA/${res.tokenIds[index]}` })).sort((a,b) => Number(a.price) - Number(b.price)).filter(i => i.priceBNB == 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment