Learn how to use the enhancedGetTokensAndNFTs JSON-RPC method.
enhancedGetTokensAndNFTsenhancedGetTokensAndNFTs, like its EVM counterpart, getTokensAndNFTs, retrieves a detailed list of tokens and NFTs that belong to a specific address. It takes:
address - a base58-encoded string.parseMetadataUri - Boolean (false by default).Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Request to get tokens and NFTs for an account.
Version of the JSON-RPC protocol, should be 2.0.
"2.0"
The request identifier.
1
The blockchain chain ID.
101
API method being called.
enhancedGetTokensAndNFTs Parameters for getting tokens and NFTs.
Account address details.
Successful response with tokens and NFTs information.