signAndExecuteTransactionBlock

abstract suspend fun signAndExecuteTransactionBlock(signer: Account, ptb: ProgrammableTransaction, gasBudget: ULong): Option.Some<ExecuteTransactionBlock.Result?>

Sign and execute a transaction block

This function will sign and execute a transaction block with the given programmable transaction and signer.

Return

An Option of nullable ExecuteTransactionBlock.Result

Parameters

ptb

The programmable transaction

signer

The signer

gasBudget

The gas budget