metapro
Ask or search…
⌃K

Displaying All User-Owned Tokens

In this section, you will learn how to display all the tokens owned by a specific user. However, if you wish to showcase only the tokens directly related to your game on your platform, refer to the example provided in the previous section. Utilize the parameter tokens[ContractAddress]=[TokenIDs] to precisely define which tokens should be included in the displayed results. This mechanism allows for the customization of token visibility according to specified criteria, tailoring the presented information to the specifics of your game.
get
../v1/user/{address}/tokens
Returns tokens from that are owned by a specific User
Example cURL
curl --location 'https://api.metaproprotocol.com/ms/nft/v1/user/0x832735f45299c8b6f7263e758cadba766459cd21/tokens' \
--header 'accept: application/json'

For more information about the Endpoints from the NFT Service, use the documentation below