Mining
Endpoints related to Stacks block production and mining.
Used by stackers to validate a proposed Stacks block from a miner. This API endpoint requires a basic Authorization header.
Plain-text secret value that must exactly equal the node's
configured password, which is set as connection_options.auth_token
in the node's configuration file.
Hex-encoded block data
Chain ID for the block
Block proposal has been accepted for processing. The result will be returned via the event observer.
Bad Request
Unauthorized. Invalid or missing authentication token.
There is an ongoing proposal validation being processed, the new request cannot be accepted until the prior request has been processed.
Internal Server Error
Upload a Stacks block to the node for processing. The block must be in binary format and associated with the given consensus hash.
Consensus hash (40 hex characters)
^[0-9a-f]{40}$Binary-encoded Stacks block
Block upload result
Bad request
Not found
Internal Server Error
Last updated
Was this helpful?
