signAndSubmitAsFeePayer

open suspend override fun signAndSubmitAsFeePayer(feePayer: Account, senderAuthenticator: AccountAuthenticator, transaction: AnyRawTransaction): Result<PendingTransactionResponse, Exception>

Signs a transaction as the fee payer and submits it to the network.

Return

A Result containing the PendingTransactionResponse or an Exception.

Parameters

feePayer

The fee payer account to sign the transaction with.

senderAuthenticator

The authenticator from the primary transaction sender.

transaction

The raw transaction to sign and submit.