Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 2.11 KB

File metadata and controls

32 lines (18 loc) · 2.11 KB
description
Query a wallet's NFT balance for token gating

Get NFT Balances

EndPoint

GET /api/v3/user/nft/base/balances

Header

FieldDescriptionExampleTypeRequired
X-API-KEYApiKey, can use a valid apiKey to get other address asset"HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN"stringY


Request

FieldDescriptionExampleTypeRequired
accountId(Optional) AccountID, accountId or address is required123456integerY
address(Optional) Address, accountId or address is required"0x8656920c85342d646E5286Cb841F90209272ABeb"
offset(Optional) Number of records to skip10
limit

(Optional) Number of records to return.

Default is 20, max is 50

30

Response

FieldDescriptionExampleTypeRequired
totalNumtotal amount of unique NFTs100integerY
datalist[BalanceData]

BalanceData

FieldDescriptionExampleTypeRequired
totaltotal amount per NFT4stringY
nftDatathe nftData of the NFT token"0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085"