createAccountTransferEntry static method
Creates an Aptos transaction entry for transferring coins to an account.
Implementation
static AptosTransactionEntryFunction createAccountTransferEntry(
AptosTransferParams transfer) {
return AptosTransactionEntryFunction(
moduleId: AptosConstants.systemFrameworkAccountModuleId,
functionName: AptosConstants.transferFunctionName,
args: [transfer.destination, MoveU64(transfer.apt)]);
}