getTransactionCount

getTransactionCount — Total transaction count

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. Parameters

  1. config (optional) — Optional configuration object. Every field is optional; omit the entire object to use defaults.

Authorizations
AuthorizationstringOptional

Pass Authorization: <api-key> on each request.

Body
jsonrpcstring · enumRequired

JSON-RPC protocol version.

Example: 2.0Possible values:
idone ofRequired

Request identifier echoed back in the response.

Example: 1
stringOptional
or
integerOptional
methodstring · enumRequired

Must be getTransactionCount.

Example: getTransactionCountPossible values:
Responses
200

Successful getTransactionCount response.

application/json

Base envelope of every JSON-RPC 2.0 response.

jsonrpcstring · enumRequiredExample: 2.0Possible values:
idone ofRequired

Echoed request id.

Example: 1
stringOptional
or
integerOptional
resultinteger · int64Required
post
/

Last updated