depositTo method

Future<String> depositTo({
  1. required String address,
  2. required BigInt value,
  3. required Credentials credentials,
  4. BigInt? gasPrice,
  5. BigInt? gasLimit,
})

Implementation

Future<String> depositTo({
  required String address,
  required BigInt value,
  required Credentials credentials,
  BigInt? gasPrice,
  BigInt? gasLimit,
}) async {
  return write(
    functionName: 'depositTo',
    args: [EthereumAddress.fromHex(address)],
    credentials: credentials,
    value: value,
  );
}