New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns a list of recent performance samples, in reverse slot order. Performance samples are taken every 60 seconds and include the number of transactions and slots that occur in a given time window..
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getRecentPerformanceSamples",
"params": [
4
]
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": [
{
"slot": 348125,
"numTransactions": 126,
"numNonVoteTransactions": 1,
"samplePeriodSecs": 60,
"numSlots": 126
}
]
}Documentation Index
Fetch the complete documentation index at: https://helius-laserstream-websocket-free-tier-server.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getRecentPerformanceSamples "getRecentPerformanceSamples"
Optional parameter to limit the number of samples to return.
Number of historical performance sample intervals to retrieve (maximum 720, representing up to 12 hours).
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getRecentPerformanceSamples",
"params": [
4
]
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": [
{
"slot": 348125,
"numTransactions": 126,
"numNonVoteTransactions": 1,
"samplePeriodSecs": 60,
"numSlots": 126
}
]
}