Supply

SupplyByQueryString queries the number of NFTs from the given class, same as totalSupply of ERC721.

get

Since: nft v0.1.1

Query parameters
class_idstringOptional

class_id associated with the nft.

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

Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.

get
Path parameters
class_idstringRequired

class_id associated with the nft

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