sui_getTotalTransactionBlocks

Read API

Return the total number of transactions known to the server

Parameters

None

Result

Number of transactions : <BigInt_for_uint64>- get total number of transactions on the network.

Example

Request

curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_getTotalTransactionBlocks",
  "params": []
}
'

Response

{
    "jsonrpc": "2.0",
    "result": "5991457",
    "id": 1
}
Language
Click Try It! to start a request and see the response here!