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": "getBlockCommitment",
"params": [
235157119
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"commitment": null,
"totalStake": 384962848972206900
}
}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": "getBlockCommitment",
"params": [
235157119
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"commitment": null,
"totalStake": 384962848972206900
}
}The JSON-RPC protocol version.
2.0 A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getBlockCommitment Parameters for the request.
Block number identified by Slot (as u64 integer).
Was this page helpful?