Hi, Iām trying to make a snapshot of NFT holders of a particular collection, at a specific block.
Itās on fantom. Iām using the āstandard wayā (no moralis api):
let result = await instance.getPastEvents('Transfer', { fromBlock: _from, toBlock: _to })
but Iām not getting any transfer strangely (a few months ago, the script I was using was working fine⦠maybe something changed on fantom?). Using RPC https://rpc.ftm.tools/ (I tried others, same issue).
On Moralias Iāve found 2 interesting endpoints:
getNFTOwners
https://docs.moralis.io/reference/getnftowners-1
this unluckily doesnāt let specify the block number, else it would be perfect⦠maybe feature request?
The other way would be to use
getNFTContractTransfers
https://docs.moralis.io/reference/getnftcontracttransfers-2
This also does not allow to specify from / to⦠so basically Iād have to fetch everything in batches of 100 (because of api limit 100 resultsā¦)
Advise to achieve this in a smart way?
I tried to setup a stream via admin.moralis.io, chose erc721, entered address but what would I set for tokenId?
Thx