curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "getBlockProduction",
"params": [
{
"commitment": "finalized",
"identity": "85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr",
"range": {
"firstSlot": 0,
"lastSlot": 9887
}
}
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"context": {
"slot": 9887
},
"value": {
"byIdentity": {
"85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr": [
9888,
9886
]
},
"range": {
"firstSlot": 0,
"lastSlot": 9887
}
}
}
}curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "getBlockProduction",
"params": [
{
"commitment": "finalized",
"identity": "85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr",
"range": {
"firstSlot": 0,
"lastSlot": 9887
}
}
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"context": {
"slot": 9887
},
"value": {
"byIdentity": {
"85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr": [
9888,
9886
]
},
"range": {
"firstSlot": 0,
"lastSlot": 9887
}
}
}
}The JSON-RPC protocol version.
2.0 A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getBlockProduction Parameters for the request.
Show child attributes
The commitment level for the request.
processed, confirmed, finalized "finalized"
Optional validator identity public key (base-58 encoded) to filter results for a specific validator.
"85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr"
Optional slot range boundaries to limit the block production statistics time period.
Show child attributes
Successfully retrieved block production information.
2.0 Show child attributes
Show child attributes
Map of validator identity public keys to their block production performance metrics.
Show child attributes
Two-element array containing [leaderSlots, blocksProduced] statistics for this validator.
{
"85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr": [9888, 9886]
}Was this page helpful?