Skip to main content

getRecentPerformanceSamples RPC Method

Loading...

Updated on
Apr 30, 2025

getRecentPerformanceSamples RPC Method

Parameters

limit
string
Loading...

Returns

result
Loading...
numNonVoteTransactions
Loading...
numSlots
Loading...
numTransactions
Loading...
samplePeriodSecs
Loading...
slot
Loading...
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0", "id":1, "method":"getRecentPerformanceSamples", "params": [4]}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": [
4
{
5
"numNonVoteTransactions": 69449,
6
"numSlots": 149,
7
"numTransactions": 263299,
8
"samplePeriodSecs": 60,
9
"slot": 335501725
10
},
11
{
12
"numNonVoteTransactions": 70649,
13
"numSlots": 155,
14
"numTransactions": 272267,
15
"samplePeriodSecs": 60,
16
"slot": 335501576
17
},
18
{
19
"numNonVoteTransactions": 68091,
20
"numSlots": 148,
21
"numTransactions": 260843,
22
"samplePeriodSecs": 60,
23
"slot": 335501421
24
},
25
{
26
"numNonVoteTransactions": 76046,
27
"numSlots": 153,
28
"numTransactions": 274847,
29
"samplePeriodSecs": 60,
30
"slot": 335501273
31
}
32
],
33
"id": 1
34
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free