Skip to main content

sui_getTotalTransactionBlocks

Read API Return the total number of transactions known to the server.

Read API Return the total number of transactions known to the server.

Parameters

  • none

Returns

  • BigInt<u64> : <BigInt_for_uint64>

Example Request and Result for sui_getTotalTransactionBlocks

Request

curl --location 'https://sui-testnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_getTotalTransactionBlocks",
"params": []
}'

Result:

{
"jsonrpc": "2.0",
"result": "196609553",
"id": 1
}