Skip to content

sendTransaction

sendTransaction(send, algod): Promise<SendTransactionResult>

Defined in: src/transaction/transaction.ts:209

Parameters

send

The details for the transaction to prepare/send, including:

  • transaction: The unsigned transaction
  • from: The account to sign the transaction with: either an account with private key loaded or a logic signature account
  • config: The sending configuration for this transaction

from

SendTransactionFrom

sendParams

SendTransactionParams

transaction

Transaction

algod

AlgodClient

An algod client

Returns

Promise<SendTransactionResult>

An object with transaction (transaction) and (if skipWaiting is false or undefined) confirmation (confirmation)