getTransactionBlock

abstract suspend fun getTransactionBlock(digest: String, options: TransactionBlockResponseOptions = TransactionBlockResponseOptions()): Result<GetTransactionBlockQuery.Data?, SuiError>

Fetches the details of a specific transaction block by its digest.

Return

A Result which is either:

Parameters

digest

The base58-encoded digest of the transaction block.

options

The TransactionBlockResponseOptions specifying which details of the transaction to include in the response.