totalSupply method

Future<BigInt> totalSupply()

Implementation

Future<BigInt> totalSupply() async {
  final function = abi.getFunction('totalSupply')!;

  final response = await readSafe(
    function: function.addValues(values: []),
  );

  return response.outputs[0].value as BigInt;
}