Created
October 7, 2021 12:29
-
-
Save caffeinum/21a2f38fb59ce253a3fef77c45c3c051 to your computer and use it in GitHub Desktop.
Pancake Swap NFT Marketplace get floor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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