New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns commitment for particular block.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getBlockCommitment",
"params": [
430
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"commitment": [
0,
0,
0,
0,
0,
10,
32
],
"totalStake": 384962848972206900
}
}Documentation Index
Fetch the complete documentation index at: https://helius-codex-token-transfer-filter-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getBlockCommitment",
"params": [
430
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"commitment": [
0,
0,
0,
0,
0,
10,
32
],
"totalStake": 384962848972206900
}
}