submitblock

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

Path Parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
hexdatastringRequired

The hex-encoded block data to submit.

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

Response

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