curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getBlockProduction"
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getBlockProduction"
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}getBlockProduction MethodgetBlockProduction method returns the block production information.
This method provides detailed information about the number of blocks that have been produced, and the number of slots that have been skipped. It is useful for tracking the efficiency of the network and the performance of validators.
commitment — (optional) the level of commitment desired:
processed — the node has processed the block and the block may be on a fork.confirmed — the block is confirmed by the cluster as not being on a fork.finalized — the block is finalized by the cluster.value — the block production information:
range — the range of slots being considered.totalSlots — the total number of slots in the range.totalBlocks — the total number of blocks in the range.totalSkippedSlots — the total number of skipped slots in the range.getBlockProduction is to track the efficiency of the network and the performance of validators. This can be useful for network monitoring tools or other applications that need to display or make use of this information.Was this page helpful?