description |
---|
Query a wallet's NFT balance for token gating |
GET /api/v3/user/nft/base/balances
Field | Description | Example | Type | Required |
---|---|---|---|---|
X-API-KEY | ApiKey, can use a valid apiKey to get other address asset | "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN" | string | Y |
Field | Description | Example | Type | Required |
---|---|---|---|---|
accountId | (Optional) AccountID, accountId or address is required | 123456 | integer | Y |
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 |
Field | Description | Example | Type | Required |
---|---|---|---|---|
totalNum | total amount of unique NFTs | 100 | integer | Y |
data | list[BalanceData] |
Field | Description | Example | Type | Required |
---|---|---|---|---|
total | total amount per NFT | 4 | string | Y |
nftData | the nftData of the NFT token | "0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085" |