Documentation exported from Syscoin Core 4.4.1

createauxblock (4.4.1 RPC)

blockchain

control

evo

evowallet

governance

governancewallet

masternode

mining

network

rawtransactions

signer

syscoin

syscoinwallet

util

wallet

zmq

createauxblock "address"

Creates a new block and returns information required to merge-mine it.

Arguments:
1. address    (string, required) Payout address for the coinbase transaction

Result:
{                                 (json object)
  "hash" : "hex",                 (string) hash of the created block
  "chainid" : n,                  (numeric) chain ID for this block
  "previousblockhash" : "hex",    (string) hash of the previous block
  "coinbasevalue" : n,            (numeric) value of the block's coinbase
  "bits" : "str",                 (string) compressed target of the block
  "height" : n,                   (numeric) height of the block
  "_target" : "hex"               (string) target in reversed byte order, deprecated
}

Examples:
> syscoin-cli createauxblock "address"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "createauxblock", "params": ["address"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/