Skip to main content

Erc1155.totalSupply() method

Returns the total supply of a specific token

Signature:

totalSupply(tokenId: BigNumberish): Promise<BigNumber>;

Parameters

ParameterTypeDescription
tokenIdBigNumberishThe token ID to get the total supply of

Returns:

Promise<BigNumber>

the total supply