Transaction

interface Transaction

Transaction interface

This interface represents the transaction API

Inheritors

Functions

Link copied to clipboard
abstract suspend fun dryRunTransactionBlock(txnBytes: String, option: ExecuteTransactionBlockResponseOptions = ExecuteTransactionBlockResponseOptions()): Option.Some<DryRunTransactionBlock.Result?>

Dry run a transaction block

Link copied to clipboard
abstract suspend fun executeTransactionBlock(txnBytes: String, signatures: List<String>, option: ExecuteTransactionBlockResponseOptions = ExecuteTransactionBlockResponseOptions()): Option.Some<ExecuteTransactionBlock.Result?>

Execute a transaction block

Link copied to clipboard
abstract suspend fun getTotalTransactionBlocks(): Option<Long?>

Get the total transaction blocks

Link copied to clipboard
abstract suspend fun queryTransactionBlocks(txnBlocksOptions: TransactionBlockResponseOptions = TransactionBlockResponseOptions()): Option<TransactionBlocks>

Query transaction blocks for the specified criteria

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

Sign and execute a transaction block

Link copied to clipboard
abstract fun signTransaction(message: ByteArray, signer: Account): ByteArray

Sign a transaction