Mining
Upload a Stacks block
Changed onUpload a Stacks block to the node for processing. The block must be in binary format and associated with the given consensus hash.
post/v2/blocks/upload/{consensus_hash}
Request
- Base URLhttp://localhost:20443
- URLhttp://localhost:20443/v2/blocks/upload/{consensus_hash}
- Authnone required
Path parameters
consensus_hashstring required
Consensus hash (40 hex characters)
Request body application/octet-stream
string binary required
Binary-encoded Stacks block
Response
Block upload result
Block Upload Response required(unresolved $ref)
Changes
- breaking
the request's body minLength was increased from
0to1
- breaking
- info
the request's body minLength was decreased from
1to0
- info