Validate proposed block

RPC node

Validate a proposed Stacks block.

POST

Parameters

Body

application/json
block
REQUIRED
string
Hex-encoded block data
chain_id
REQUIRED
integer
Chain ID for the block
Status codeDescription
202Block proposal has been accepted for processing. The result will be returned via the event observer.
400Bad Request
401Unauthorized. Invalid or missing authentication token.
429There is an ongoing proposal validation being processed, the new request cannot be accepted until the prior request has been processed.
500Internal Server Error
cURL
curl -L -X POST \
"https://api.hiro.so/v3/block_proposal" \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"block": "00000000000000001f00000000000927c08fb5ae5bf80e39e4168f6a3fddb0407a069d21ee68465e6856393254d2a66194f44bb01070666d5effcfb2436e209a75878fe80a04b4258a8cd34ab97c38a8dde331a2a509dd7e4b90590726866172cc138c18e80567737667f55d3f9817ce4714c91d1adfd36101141829dc0b5ea0c4944668c0005ddb6f9e2718f60014f21932a42a36ffaf58e88e77b217b2af366c15dd59e6b136ca773729832dcfc5875ec0830d04012dd5a4fa77a196646ea2b356289116fd02558c034b62d63f8a65bdd20d7ffc3fec6c266cd974be776a9e92759b90f288dcc2525b6b6bd5622c5f02e0922440e9ad1095c19b4467fd94566caa9755669d8e0000000180800000000400f64081ae6209dce9245753a4f764d6f168aae1af00000000000000000000000000000064000041dbcc7391991c1a18371eb49b879240247a3ec7f281328f53976c1218ffd65421dbb101e59370e2c972b29f48dc674b2de5e1b65acbd41d5d2689124d42c16c01010000000000051a346048df62be3a52bb6236e11394e8600229e27b000000000000271000000000000000000000000000000000000000000000000000000000000000000000",
"chain_id": 2147483648
}'
Response
{
"message": "Block proposal is processing, result will be returned via the event observer",
"result": "Accepted"
}

How is this guide?