Validate proposed block

Validate a proposed Stacks block.


POST
/v2/block_proposal

Validate a proposed Stacks block

Used by stackers to validate a proposed Stacks block from a miner.

This API endpoint requires a basic Authorization header.

Request Body (Optional)

block
Required
string

chain_id
Required
integer

Status codeDescription
202Block proposal has been accepted for processing. The result will be returned via the event observer.
403Request not over loopback interface
429There is an ongoing proposal validation being processed, the new request cannot be accepted until the prior request has been processed.
/v2/block_proposal

Terminal
$
curl -X POST "http://localhost:20443/v2/block_proposal" \
-d '{

{
"message": "string",
"result": "string"
}