Account.sendTransfer() method
Sends a transfer transaction to the blockchain.
Signature:
sendTransfer(transferParams: TransferParams, options?: ISendTransactionOptions): Promise<ISendResult>;
Parameters
Parameter | Type | Description |
---|---|---|
transferParams | TransferParams | The transfer parameters for the transaction. |
options | ISendTransactionOptions | (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.