Supply

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

Deprecated: use cosmos-sdk/x/nft package instead

GEThttps://coreum.nownodes.io/coreum/nft/v1beta1/supply/{class_id}
Path parameters
class_id*string
Response

A successful response.

Body
amountstring (uint64)
Request
const response = await fetch('https://coreum.nownodes.io/coreum/nft/v1beta1/supply/{class_id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "amount": "text"
}