transfer method
Implementation
Future<dynamic> transfer(
Web3 web3,
String walletAddress,
String receiverAddress, {
String? tokensAmount,
BigInt? amountInWei,
String network = 'fuse',
Map? transactionBody,
}) async {
Map<String, dynamic> data = await web3.transferOffChain(
walletAddress,
receiverAddress,
tokensAmount: tokensAmount,
amountInWei: amountInWei,
network: network,
transactionBody: transactionBody,
);
Response response = await _dio.post(
'/v1/relay',
options: options,
data: data,
);
return response.data;
}