getRecentPerformanceSamples

Returns a list of recent performance samples, in reverse slot order. Performance samples are taken every 60 seconds.

POST Category: cluster

Example Request

curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getRecentPerformanceSamples",
  "params": [4]
}'

Example Response

{
  "jsonrpc": "2.0",
  "result": [
    { "numSlots": 126, "numTransactions": 992, "numNonVoteTransactions": 10, "samplePeriodSecs": 60, "slot": 348125 },
    { "numSlots": 126, "numTransactions": 984, "numNonVoteTransactions": 8, "samplePeriodSecs": 60, "slot": 347999 }
  ],
  "id": 1
}

← Back to all methods