balanceOf method

Future<BigInt> balanceOf(
  1. String address
)

Implementation

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

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

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