submitblock - Pastel RPC
submitblock "hexdata" ( "jsonparametersobject" ) Attempts to submit new block to network. The 'jsonparametersobject' parameter is currently ignored. See https://en.bitcoin.it/wiki/BIP_0022 for full specification. Arguments 1. "hexdata" (string, required) the hex-encoded block data to submit 2. "jsonparametersobject" (string, optional) object of optional parameters { "workid" : "id" (string, optional) if the server provided a workid, it MUST be included with submissions } Result: "duplicate" - node already has valid copy of block "duplicate-invalid" - node already has block, but it is invalid "duplicate-inconclusive" - node already has block but has not validated it "inconclusive" - node has not validated the block, it may not be on the node's current best chain "rejected" - block was rejected as invalid For more information on submitblock parameters and results, see: https://github.com/bitcoin/bips/blob/master/bip-0022.mediawiki#block-submission Examples: > pastel-cli submitblock "mydata" > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:9932/
Maintained by Pastel Network; license of the docs is MIT (see pastel repo)
Generated from a mainnet node
Addressindex
Blockchain
Control
Generating
Mining
Mnode
Network
Rawtransactions
Wallet
addmultisigaddress
backupwallet
dumpprivkey
dumpwallet
encryptwallet
fixmissingtxs
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
gettxfee
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressamounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
scanburntransactions
scanformissingtxs
sendfrom
sendmany
sendtoaddress
setaccount
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress(type)
z_getnotescount
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_sendmanywithchangetosender
z_shieldcoinbase
z_viewtransaction
zcbenchmark