APIs & SDKs
Log In
APIs & SDKs

enhancedGetTokensAndNFTs

🔀 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

const axios = require('axios'); (async () => { const response = await axios.post('https://rpc.particle.network/solana', { chainId: 103, jsonrpc: '2.0', id: 0, method: 'enhancedGetTokensAndNFTs', params: ['6XU36wCxWobLx5Rtsb58kmgAJKVYmMVqy4SHXxENAyAe', { parseMetadataUri: true, }], }, { auth: { username: 'Your Project Id', password: 'Your Project Server Key', } }); console.log(response.data); })();
Body Params
string
required
Defaults to 2
integer
required
Defaults to 1
integer
required
string
required
params
array
required
params*
Response

Language
Credentials
:
Click Try It! to start a request and see the response here! Or choose an example:
application/json