Skip to main content

Account.sendTransfer() method

Sends a transfer transaction to the blockchain.

Signature:

sendTransfer(transferParams: TransferParams, options?: ISendTransactionOptions): Promise<ISendResult>;

Parameters

ParameterTypeDescription
transferParamsTransferParamsThe transfer parameters for the transaction.
optionsISendTransactionOptions(Optional) Additional options for the transaction execution.

Returns:

Promise<ISendResult>

A promise that resolves to an ISendResult object containing information about the transaction.

Remarks

This function sends the specified transfer transaction to the blockchain for execution. The transaction can be used to transfer native cryptocurrency or tokens.