totalSupply method

Future<BigInt> totalSupply(
  1. int id
)

Total amount of tokens in with a given id.

Implementation

Future<BigInt> totalSupply(int id) async {
  return contract.call<BigInt>('totalSupply', [id]);
}