sui_getTotalTransactionBlocks
Return the total number of transaction blocks known to the server.
Parameters
None.
Result
BigInt<u64>·BigInt<u64>
Example
Request
bash
curl https://mainnet-api.inodra.com/v1/jsonrpc \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_getTotalTransactionBlocks",
"params": []
}'Response
json
{
"jsonrpc": "2.0",
"id": 1,
"result": "2451485"
}