[SOLVED] NFT Token Address => Contract Address

I need to know if there is a function in the SDK that takes in any random NFT token address and returns the contract address??

I’m trying to trace any NFT in a wallet to the originating contract.

I’d appreciate any feedback on how anyone would approach this using Moralis SDK.

Thanks a lot!

1 Like

I’m not sure what you mean by a random NFT token address.
Any NFT in a wallet should also mention original NFT contract.
https://docs.moralis.io/moralis-server/web3-sdk/account#getnfts

Random meaning any NFT I put in returns the original contract address.

Ivan responded and says the that address will be the same on all the tokens and the token ID will be different on each token.

I’m verifying this now.

Thanks for the reply for sure.

All is well. I’ve confirmed that I have what I need to proceed. Please mark as resolved.

Thanks!

-m

1 Like