Skip to content
Alchemy Logo

submitblock

POST
/{apiKey}

Attempts to submit a new block to the network. The block data must be hex-encoded.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The hex-encoded block data to submit.

stringoptional

Dummy value for compatibility with BIP22. This value is ignored.

Responses

200

Returns null when valid, or a string error message according to BIP22 otherwise.

Was this page helpful?