getTransactionWithSigner
getTransactionWithSigner(
transaction,defaultSender?):Promise<TransactionWithSigner>
Defined in: algokit-utils-ts/src/transaction/transaction.ts:134
Parameters
Section titled “Parameters”transaction
Section titled “transaction”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)
defaultSender?
Section titled “defaultSender?”The default sender to be used to obtain a signer where the object provided to the transaction parameter does not include a signer.
Returns
Section titled “Returns”Promise<TransactionWithSigner>
A TransactionWithSigner object.