getTransactionWithSigner
getTransactionWithSigner(
transaction
,defaultSender
?):Promise
<TransactionWithSigner
>
Defined in: src/transaction/transaction.ts:127
Parameters
transaction
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)
Transaction
| TransactionToSign
| Promise
<SendTransactionResult
> | TransactionWithSigner
defaultSender?
SendTransactionFrom
The default sender to be used to obtain a signer where the object provided to the transaction parameter does not include a signer.
Returns
Promise
<TransactionWithSigner
>
A TransactionWithSigner object.