Query

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

Changed on
get/cosmos/nft/v1beta1/balance/{owner}/{class_id}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

ownerstring required

owner is the owner address of the nft

class_idstring required

class_id associated with the nft

Response

A successful response.

amountstring uint64

Changes