getRecentPerformanceSamples
Returns a list of recent performance samples in reverse slot order (most recent first). Performance samples are collected every 60 seconds and provide detailed metrics about network activity including transaction counts, slot progression, and timing information.
Each sample represents a 60-second window of network activity and includes:
Total number of transactions processed
Number of non-vote transactions (user-initiated transactions)
Number of slots that occurred during the sample period
The slot number when the sample was taken
Authorizations
Body
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0
Possible values: idone ofRequiredExample:
Request identifier that will be returned in the response
1
stringOptional
numberOptional
methodstring · enumRequiredExample:
The RPC method name
getRecentPerformanceSamples
Possible values: paramsinteger[] · max: 1OptionalExample:
Method parameters (optional):
- Number of samples to return (optional, maximum 720)
60
Responses
200
Successful Response
application/json
401
Unauthorized
text/plain
403
Forbidden
text/plain
429
Too Many Requests
text/plain
500
Internal Server Error
text/plain
post
curl -X POST https://public.rpc.solanavibestation.com \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getRecentPerformanceSamples",
"params": [10]
}'
{
"jsonrpc": "2.0",
"result": [
{
"slot": 348125,
"numTransactions": 2847,
"numSlots": 150,
"samplePeriodSecs": 60,
"numNonVoteTransactions": 1245
},
{
"slot": 347975,
"numTransactions": 2156,
"numSlots": 147,
"samplePeriodSecs": 60,
"numNonVoteTransactions": 892
},
{
"slot": 347828,
"numTransactions": 3021,
"numSlots": 149,
"samplePeriodSecs": 60,
"numNonVoteTransactions": 1789
}
],
"id": 1
}
Last updated