Get NFT Balances
Query a wallet's NFT balance for token gating
EndPoint
Header
Field | Description | Example |
---|---|---|
X-API-KEY | ApiKey, can use a valid apiKey to get other address asset | "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN" |
Request
Field | Description | Example |
---|---|---|
accountId | (Optional) AccountID, accountId or address is required | 123456 |
address | (Optional) Address, accountId or address is required | "0x8656920c85342d646E5286Cb841F90209272ABeb" |
offset | (Optional) Number of records to skip | 10 |
limit | (Optional) Number of records to return. Default is 20, max is 50 | 30 |
Response
Field | Description | Example |
---|---|---|
totalNum | total amount of unique NFTs | 100 |
data | list[BalanceData] |
BalanceData
Field | Description | Example |
---|---|---|
total | total amount per NFT | 4 |
nftData | the nftData of the NFT token | "0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085" |
Last updated