Solana Enhanced RPC
enhancedGetTokensAndNFTs
Learn how to use the enhancedGetTokensAndNFTs JSON-RPC method.
POST
Contextualizing enhancedGetTokensAndNFTs
enhancedGetTokensAndNFTs
, 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.- Object, optional:
parseMetadataUri
- Boolean (false
by default).
Query example
JavaScript
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
Request to get tokens and NFTs for an account.
The body is of type object
.
Response
200 - application/json
Successful response with tokens and NFTs information.
The response is of type object
.