getBlockCommitment

getBlockCommitment RPC Method

post
/

Returns commitment for particular block. This method provides information about the cluster stake that has voted on a specific block at each depth.

Authorizations
AuthorizationstringOptional

Authorization header for API key authentication.

Example:

Authorization: your-api-key-here
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Possible values:
idnumberRequired

Request identifier that will be returned in the response

methodstring · enumRequired

The RPC method name

Possible values:
paramsinteger · int64[] · min: 1 · max: 1Required

Method parameters containing the slot number

Example: 5
Responses
chevron-right
200

Successful Response

application/json

RPC response containing the block commitment information

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier matching the original request

Example: 1
stringOptional
or
numberOptional
resultone ofOptional

The result object containing block commitment information, or null if block not found

or
nullOptional
post
/

Last updated