Nft Withrawal costs

Hello,

Is there an API that can track the cost of withdrawing/transfer of an NFT, possibly in Etherium blockchain?

Thank you.

you could try to look for trades, but that will be only a subset of the transfers that are done

1 Like

Thank you @cryptokid, will look into that…though I was asking if Moralis offered it. :grin:

there is an endpoint for transfers:

one for trades:

Hello,
To be specific I am looking for the estimated costs for ERC721 transfer.

Thank you

Moralis doesn’t provide that, you can try getting that from Etherscan API instead. If you can’t get it directly, since ERC20/ERC721 transfer functions are consistent in cost, you can try to do what Etherscan does and calculate it based on the current gas price.

Hello @alex …could you give me an example using the Etherscan api to calculate the estimated costs…i cant for the life of me figure out the calculation or what api to use, they are kind of confusing to me.
(Sorry for being an amateur, hahaha)

It looks Etherscan they don’t provide that info directly in their API. See if one of the endpoints here helps you in calculating it.

What have you tried so far? It may be a difficult process to do something like theirs with Low/Average/High.