Balance

BalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721

get

Since: nft v0.1.1

Query parameters
class_idstringOptional

class_id associated with the nft.

ownerstringOptional

owner is the owner address of the nft.

Responses
200
A successful response.
application/json
get
GET /cosmos/nft/v1beta1/balance HTTP/1.1
Host: tia-rest.nownodes.io
Accept: */*
{
  "amount": "text"
}

Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721

get
Path parameters
ownerstringRequired

owner is the owner address of the nft

class_idstringRequired

class_id associated with the nft

Responses
200
A successful response.
application/json
get
GET /cosmos/nft/v1beta1/balance/{owner}/{class_id} HTTP/1.1
Host: tia-rest.nownodes.io
Accept: */*
{
  "amount": "text"
}