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
JSON-RPC protocol version
2.0
Possible values: Request identifier that will be returned in the response
1
The RPC method name
getRecentPerformanceSamples
Possible values: Method parameters (optional):
- Number of samples to return (optional, maximum 720)
60
Successful Response
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
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