get Transaction Block
abstract suspend fun getTransactionBlock(digest: String, options: <Error class: unknown class> = TransactionBlockResponseOptions()): <Error class: unknown class><GetTransactionBlockQuery.Data?, <Error class: unknown class>>
Fetches the details of a specific transaction block by its digest.
Return
A Result which is either:
Ok: Containing a nullable GetTransactionBlockQuery.Data object with the transaction's details.Err: Containing a SuiError object with a list of SdkErrorDetails.
Parameters
digest
The base58-encoded digest of the transaction block.
options
The TransactionBlockResponseOptions specifying which details of the transaction to include in the response.