This documents lists changes made by protocol version.
blockchain.utxo.get_addressblockchain.numblocks.subscribe
- improved semantics of
server.versionto aid protocol negotiation, and a changed return value. blockchain.transaction.getno longer takes the height argument that was ignored anyway.blockchain.transaction.broadcastreturns errors like any other JSON RPC call. A transaction hash result is only returned on success.
blockchain.scripthash.get_balanceblockchain.scripthash.get_historyblockchain.scripthash.get_mempoolblockchain.scripthash.listunspentblockchain.scripthash.subscribeserver.featuresserver.add_peer
blockchain.utxo.get_addressblockchain.numblocks.subscribe
blockchain.transaction.getnow has an optional parameter verbose.blockchain.headers.subscribenow has an optional parameter raw.server.versionshould not be used for "ping" functionality; use the newserver.pingmethod instead.
blockchain.block.headersmempool.get_fee_histogramserver.ping
blockchain.block.get_chunk. Switch toblockchain.block.headersblockchain.address.get_balance. Switch toblockchain.scripthash.get_balance.blockchain.address.get_history. Switch toblockchain.scripthash.get_history.blockchain.address.get_mempool. Switch toblockchain.scripthash.get_mempool.blockchain.address.listunspent. Switch toblockchain.scripthash.listunspent.blockchain.address.subscribe. Switch toblockchain.scripthash.subscribe.blockchain.headers.subscribewith raw other thanTrue.
blockchain.headers.subscribeargument raw switches default toTrue
blockchain.block.header
blockchain.address.get_balanceblockchain.address.get_historyblockchain.address.get_mempoolblockchain.address.listunspentblockchain.address.subscribe
blockchain.block.get_header. Switch toblockchain.block.header.
This version removes all support for deserialized headers.
- Deserialized headers are no longer available, so removed argument
raw from
blockchain.headers.subscribe. - Only the first
server.versionmessage is accepted. - Optional cp_height argument added to
blockchain.block.headerandblockchain.block.headersto return merkle proofs of the header to a given checkpoint.
blockchain.transaction.id_from_posto return a transaction hash, and optionally a merkle proof, given a block height and position in the block.
blockchain.block.get_headerblockchain.block.get_chunk
blockchain.block.headerandblockchain.block.headersnow truncate AuxPoW data (if using an AuxPoW chain) when cp_height is nonzero. AuxPoW data is still present when cp_height is zero. Non-AuxPoW chains are unaffected.
blockchain.scipthash.unsubscribeto unsubscribe from a script hash.
blockchain.scripthash.get_balance- addedalert_incomingandalert_outgoingbalancesblockchain.scripthash.get_history- addedtx_typeto each transactionblockchain.scripthash.get_mempool- addedtx_typeto each transactionblockchain.scripthash.listunspent- addedspend_tx_num