getDeposit method

Future<BigInt> getDeposit({
  1. required String address,
})

Implementation

Future<BigInt> getDeposit({required String address}) async {
  final result = await read(
    functionName: 'balanceOf',
    args: [EthereumAddress.fromHex(address)],
    // credentials: credentials,
  );
  // print(result);
  return result[0] as BigInt;
}