Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.soo.network/llms.txt

Use this file to discover all available pages before exploring further.

getTransactionCount RPC Method

Returns the current Transaction count from the ledger.

Parameters

object optional
Configuration object containing the following fields:
commitment string optional
The level of commitment desired when querying state
minContextSlot number optional
The minimum slot that the request can be evaluated at

Code Sample

curl https://rpc.testnet.soo.network/rpc \
-X POST \
-H "Content-Type: application/json" \
-d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getTransactionCount",
  "params": [{
    "commitment": "finalized",
    "minContextSlot": 0
  }]
}'

Response

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

Result Details

  • <u64> - Current Transaction Count
    • Represents the total number of transactions processed in the ledger
    • A cumulative count of all transactions since the blockchain’s inception