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
Requiredstring
chain_id
Requiredinteger
Status code | Description |
---|---|
202 | Block proposal has been accepted for processing. The result will be returned via the event observer. |
403 | Request not over loopback interface |
429 | There is an ongoing proposal validation being processed, the new request cannot be accepted until the prior request has been processed. |
Terminal
$curl -X POST "http://localhost:20443/v2/block_proposal" \-d '{
{"message": "string","result": "string"}