getTransactionCount - Solana
getTransactionCount. Returns the total number of transactions processed by the network
getTransactionCount - solana [Value: 16CU]
Provides the total number of transactions processed by the network, enabling developers to assess network activity and transaction throughput
Use cases
- Retrieve the total number of transactions processed on Solana
- Monitor transaction count to analyze network activity
- Track transaction volumes for performance metrics
Constraints
- Limited to the current transaction count data
- Dependent on up-to-date network information
- API rate limits may affect data retrieval frequency
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://solana.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}'
Response
200
{
"jsonrpc": "2.0",
"result": 123456,
"id": 1
}
Request params
idinteger
jsonrpcstring
methodstring
array
minContextSlotnumber
The minimum slot number at which the request can be evaluated.
commitmentstring
The level of commitment required for the query
- finalized - The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized
- confirmed - The node will query the most recent block that has been voted on by supermajority of the cluster
- processed - The node will query its most recent block. Note that the block may not be complete
Response
200
The total number of transactions recorded in the ledger.Response params
object
idinteger
jsonrpcstring
resultstring