POST
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "getBlockCommitment",
  "params": [
    430
  ]
}'
{
  "jsonrpc": "2.0",
  "id": "<string>",
  "result": {
    "commitment": null,
    "totalStake": 384962848972206900
  }
}

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json

Response

200
application/json
Successfully retrieved block commitment.

The response is of type object.