Skip to main content

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

Response

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