Get NFTs balance
Returns a paginated list of all NFTs owned by a given wallet
Path Parameters
- walletAddress string required
The address of the wallet on the blockchain.
- chain string required
Possible values: [
polygon
]The blockchain network. Currently, only 'polygon' is supported.
Query Parameters
- pageSize number
Possible values:
>= 1
and<= 100
Default value:
50
The number of items to return per page in the results list.
- pageKey string
An optional key used for pagination.
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
- total number
Total number of items
- pageSize number
Number of items per page in the results list
- nextPageKey string
Key to the next page of results. This will be null if there are no more results.
- nextPageUrl string
URL to the next page of results. This will be null if there are no more results.
results object[]
Array containing the NFTs owned by the wallet
tokenId stringThe unique identifier of the NFT.
name stringThe name of the NFT.
description stringA brief description of the NFT.
imageUrl stringThe URL of the NFT image.
imageThumbnailUrl stringThe URL of the NFT image thumbnail.
attributes object[]
An array of trait attributes associated with the NFT.
traitType stringThe type of trait for the NFT attribute.
value stringThe value of the trait, which can be a string or number.
maxValue numberThe maximum possible value for the trait, if applicable.
displayType stringThe type of UI component used to display this trait, if applicable.
contract object
The contract information related to the NFT.
name stringThe name of the NFT contract.
description stringA brief description of the NFT contract.
address stringThe address of the NFT contract on the blockchain.
symbol stringThe ticker symbol of the NFT contract.
totalSupply stringThe total supply of NFTs in this contract.
type stringPossible values: [
ERC721
,ERC1155
]The type or category of the NFT.
{
"total": 0,
"pageSize": 0,
"nextPageKey": "string",
"nextPageUrl": "string",
"results": [
{
"tokenId": "string",
"name": "string",
"description": "string",
"imageUrl": "string",
"imageThumbnailUrl": "string",
"attributes": [
{
"traitType": "string",
"value": "string",
"maxValue": 0,
"displayType": "string"
}
],
"contract": {
"name": "string",
"description": "string",
"address": "string",
"symbol": "string",
"totalSupply": "string",
"type": "ERC721"
}
}
]
}