Protocol Changes¶
This documents lists changes made by protocol version.
Version 1.0¶
Deprecated methods¶
Version 1.1¶
Changes¶
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.
New methods¶
Removed methods¶
Version 1.2¶
Changes¶
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.
New methods¶
Deprecated methods¶
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
.
Version 1.3¶
Changes¶
blockchain.headers.subscribe()
argument raw switches default toTrue
New methods¶
Removed methods¶
Deprecated methods¶
Version 1.4¶
This version removes all support for deserialized headers.
Changes¶
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.
New methods¶
blockchain.transaction.id_from_pos()
to return a transaction hash, and optionally a merkle proof, given a block height and position in the block.
Removed methods¶
Version 1.4.1¶
Changes¶
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.
Version 1.4.1¶
New methods¶
blockchain.scipthash.unsubscribe()
to unsubscribe from a script hash.
Version 1.8.0¶
New methods¶
blockchain.scripthash.listassets()
blockchain.asset.unsubscribe()
Version 1.9.0¶
New methods¶
blockchain.asset.is_qualified()
blockchain.asset.get_restricted_associations_current()
blockchain.asset.get_restricted_associations_history()
blockchain.asset.get_qualifier_associations_current()
blockchain.asset.get_qualifier_associations_history()
blockchain.asset.get_tags_for_h160_current()
blockchain.asset.get_tags_for_h160_history()
blockchain.asset.get_h160_for_asset_current()
blockchain.asset.get_h160_for_asset_history()
blockchain.asset.frozen_status_current()
blockchain.asset.frozen_status_history()
Version 1.10.0¶
New methods¶
blockchain.asset.check_tag()
blockchain.asset.all_tags()
blockchain.asset.validator_string()
Removed methods¶
blockchain.asset.is_qualified()
blockchain.asset.get_restricted_associations_current()
blockchain.asset.get_restricted_associations_history()
blockchain.asset.get_qualifier_associations_current()
blockchain.asset.get_qualifier_associations_history()
blockchain.asset.get_tags_for_h160_current()
blockchain.asset.get_tags_for_h160_history()
blockchain.asset.get_h160_for_asset_current()
blockchain.asset.get_h160_for_asset_history()
blockchain.asset.frozen_status_current()
blockchain.asset.frozen_status_history()
Version 1.11.0¶
New methods¶
Changes¶
blockchain.scripthash.listassets()
andblockchain.scripthash.get_asset_balance()
now include an optional parameter to filter assets
blockchain.scripthash.listassets()
renamed toblockchain.scripthash.listassetunspents()
blockchain.asset.check_tag()
renamed toblockchain.tag.check()
blockchain.asset.all_tags()
renamed toblockchain.tag.h160.list()
blockchain.asset.validator_string()
renamed toblockchain.asset.verifier_string()
server.features()
now includes a unsupported protocol version list