Skip to main content

StandardErc1155.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