getBlockCommitment - Solana
The getBlockCommitment method retrieves commitment and stake information for a specific block by its slot number. It’s essential for tracking block validation and analyzing Solana network consensus.
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS-TOKEN>/Example (cURL):
curl --location "https://go.getblock.io/<ACCESS-TOKEN>/" -XPOST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockCommitment",
"params": [122791192]
}'Response
Use Case
Code getBlockCommitment Example - Web3 Integration
Integration with Web3
Last updated
Was this helpful?