On this page

latest contributor to this doc

Last Edit:

@smk762

Get NFT List

API-v2get_nft_list

Returns a list of the NFTs owned by the user, shown in descending order of the block_number value (the block height when the amount or owner changed). If the request is for NFTs on more than one chain, this means that the order may not be chronological. In the case of ERC1155 tokens, the block_number will update when additional NFTs are received or when all NFTs are withdrawn, but will generally remain the same if only some NFTs are withdrawn.

Before using this method, you must first call the update_nft method to populate or refresh the local database.

ParameterTypeRequiredDefaultDescription
chainsarray-List of networks to scan for NFTs. See NftNetworkEnum for allowed values.
filtersobject-A standard NftFilter object.
limitinteger10The number of NFTs displayed per page in response.
maxbooleanfalseIf true, response will return all NFTs without pagination, and will ignore the limit and page_number values.
page_numberinteger1The page offset for items in response.
protect_from_spambooleanfalseIf true, any potential spam link found in collection name, token name, or symbol will be replaced with URL redacted for user protection.

ParameterTypeDescription
nftslist of objectsA list of standard NftInfo objects.
skippedintegerThe number of NFTs in your wallet excluded by the request filters.
totalintegerThe total number of NFTs in your wallet matching the request filters.

Get NFT List (basic)

POST
get_nft_list
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "get_nft_list",
  "mmrpc": "2.0",
  "params": {
    "chains": [
      "BSC",
      "POLYGON"
    ]
  }
}

Get NFT List (paginated)

POST
get_nft_list
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "get_nft_list",
  "mmrpc": "2.0",
  "params": {
    "chains": [
      "BSC",
      "POLYGON"
    ],
    "limit": 1,
    "page_number": 2
  }
}