signAndSubmitTransaction

open suspend override fun signAndSubmitTransaction(signer: Account, transaction: AnyRawTransaction): Option<PendingTransactionResponse>

Sign and submit a single signer transaction to chain

Return

PendingTransactionResponse

Parameters

signer

The signer account to sign the transaction

transaction

An instance of a RawTransaction, plus optional secondary/fee payer addresses

{
rawTransaction: RawTransaction,
secondarySignerAddresses? : Array<AccountAddress>,
feePayerAddress?: AccountAddress
}