Skip to main content
POST
getTransactionCount

Request Parameters

string
The finality level at which to measure the transaction count (processed = recent, finalized = confirmed).
  • confirmed
  • finalized
  • processed
number
The minimum slot that the request can be evaluated at.

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getTransactionCount

The name of the RPC method to invoke.

Available options:
getTransactionCount
Example:

"getTransactionCount"

params
object[]

Optional configuration object.

Response

Successfully retrieved the transaction count.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
integer

Total number of transactions processed by the Solana blockchain since network inception.

Example:

268