Solana RPC · Blocks & slots
POST getBlockCommitment
Stake-weighted commitment for a block.
Endpoint
POST https://solrpc.infinityblocks.io/<API_KEY>
Standard Solana JSON-RPC 2.0 over HTTP POST. The API key is part of the URL path.
Parameters
| Param | Type | Required | Description |
|---|---|---|---|
slot | number | yes | Slot number. |
Request
curl -s https://solrpc.infinityblocks.io/<API_KEY> \
-X POST -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"getBlockCommitment","params":[423214000]}'
Response
{ "jsonrpc": "2.0", "id": 1, "result": { "commitment": null, "totalStake": 394500000000000000 } }
Try it
Run getBlockCommitmentlive · POST
Replace placeholders (e.g. <ADDRESS>) with real values. Your key is stored only in this browser.
—