sui_getTotalTransactionBlocks

Return the total number of transaction blocks known to the server.

Parameters:

None

Returns:

BigInt< BigInt_for_uint64 >

Example:

// Request
curl  https://sui.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" 
--data 
'{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_getTotalTransactionBlocks",
  "params": []
}'

// Result
{
    "jsonrpc": "2.0",
    "result": "86440532",
    "id": 1
}

Last updated