getTotalTransactionBlocks

abstract suspend fun getTotalTransactionBlocks(): Result<GetTotalTransactionBlocksQuery.Data?, SuiError>

Fetches the total number of transaction blocks processed by the network.

Return

A Result which is either:

  • Ok: Containing a nullable GetTotalTransactionBlocksQuery.Data object with the total count.

  • Err: Containing a SuiError object with a list of GraphQLErrors.