This documents lists changes made by protocol version.
blockchain.utxo.get_address
blockchain.numblocks.subscribe
- improved semantics of
server.version
to aid protocol negotiation, and a changed return value. blockchain.transaction.get
no longer takes the height argument that was ignored anyway.blockchain.transaction.broadcast
returns errors like any other JSON RPC call. A transaction hash result is only returned on success.
blockchain.scripthash.get_balance
blockchain.scripthash.get_history
blockchain.scripthash.get_mempool
blockchain.scripthash.listunspent
blockchain.scripthash.subscribe
server.features
server.add_peer
blockchain.utxo.get_address
blockchain.numblocks.subscribe
blockchain.transaction.get
now has an optional parameter verbose.blockchain.headers.subscribe
now has an optional parameter raw.server.version
should not be used for "ping" functionality; use the newserver.ping
method instead.
blockchain.block.headers
mempool.get_fee_histogram
server.ping
blockchain.block.get_chunk
. Switch toblockchain.block.headers
blockchain.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.subscribe
with raw other thanTrue
.
blockchain.headers.subscribe
argument raw switches default toTrue
blockchain.block.header
blockchain.address.get_balance
blockchain.address.get_history
blockchain.address.get_mempool
blockchain.address.listunspent
blockchain.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.version
message is accepted. - Optional cp_height argument added to
blockchain.block.header
andblockchain.block.headers
to return merkle proofs of the header to a given checkpoint.
blockchain.transaction.id_from_pos
to return a transaction hash, and optionally a merkle proof, given a block height and position in the block.
blockchain.block.get_header
blockchain.block.get_chunk
blockchain.block.header
andblockchain.block.headers
now 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.unsubscribe
to unsubscribe from a script hash.
blockchain.scripthash.get_balance
- addedalert_incoming
andalert_outgoing
balancesblockchain.scripthash.get_history
- addedtx_type
to each transactionblockchain.scripthash.get_mempool
- addedtx_type
to each transactionblockchain.scripthash.listunspent
- addedspend_tx_num