transfer method

Future<String> transfer(
  1. String to,
  2. BigInt amount
)

Transfers native currency.

Implementation

Future<String> transfer(String to, BigInt amount) async {
  return sendTransactionRequest(
    TransactionRequest(
      to: to,
      value: amount,
    ),
  );
}