getTransactionCount

getTransactionCount RPC Method

post
/

Returns the current transaction count from the ledger. This method provides a cumulative count of all transactions that have been processed by the Solana network since genesis.

Authorizations
AuthorizationstringOptional

Authorization header for API key authentication.

Example:

Authorization: your-api-key-here
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier that will be returned in the response

Example: 1
stringOptional
or
numberOptional
methodstring · enumRequired

The RPC method name

Example: getTransactionCountPossible values:
Responses
chevron-right
200

Successful Response

application/json

RPC response containing the current transaction count

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier matching the original request

Example: 1
stringOptional
or
numberOptional
resultinteger · int64Optional

The current transaction count from the ledger. This represents the cumulative number of all transactions that have been processed and committed to the Solana blockchain since the network's genesis. The count continuously increases as new transactions are processed and provides a measure of total network activity and usage over time.

Example: 147823456789
post
/

Last updated