curl --request POST \
--url https://devnet-as.magicblock.app/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockCommitment",
"params": [
5
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": null,
"error": null
}Methods
getBlockCommitment
Returns commitment for particular block.
POST
/
curl --request POST \
--url https://devnet-as.magicblock.app/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockCommitment",
"params": [
5
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": null,
"error": null
}curl --request POST \
--url https://devnet-as.magicblock.app/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockCommitment",
"params": [
5
]
}'
Body
application/json
Was this page helpful?

