submitblock

See https://en.bitcoin.it/wiki/BIP_0022 for full specification.

Argument #1-hexdata

Type: string, Required

Description: the hex-encoded block data to submit

Argument #2-dummy

Type: string, Optional
Default=ignored

Description: dummy value, for compatibility with BIP22. This value is ignored.

Result---(If the block was accepted)

  null    (json null)

Result---(Otherwise)

Type: string (hex)

Description: According to BIP22