Skip to content

getTransactionWithSigner

getTransactionWithSigner(transaction, defaultSender?): Promise<TransactionWithSigner>

Defined in: algokit-utils-ts/src/transaction/transaction.ts:134

Transaction | TransactionWithSigner | TransactionToSign | Promise<SendTransactionResult>

One of: A TransactionWithSigner object (returned as is), a TransactionToSign object (signer is obtained from the signer property), a Transaction object (signer is extracted from the defaultSender parameter), an async SendTransactionResult returned by one of algokit utils’ helpers (signer is obtained from the defaultSender parameter)

SendTransactionFrom

The default sender to be used to obtain a signer where the object provided to the transaction parameter does not include a signer.

Promise<TransactionWithSigner>

A TransactionWithSigner object.