API v1 ChangeLog
This section documents any changes to the v1 API, for version numbers where there were API-level modifications.
There will be no incompatible API pushes that do not either have:
- A well known set cut over date in the future
- Or, a deprecation process where the old API is supported for an amount of time
9.58.0
- Added
P2SHsupport andMPMAsupport:- Explanation of the new array parameters for
create_send - Explanation of the new
p2sh_pretx_txidparameter - Example to sign the new kind of
P2SH transaction
- Explanation of the new array parameters for
9.55.5
- create_*: adds
extended_tx_infoparameter to create methods
9.55.4
- No changes
9.55.3
- create_send: Added
memo,memo_is_hexanduse_enhanced_sendparameters - get_sends: Added support for
memoandmemo_hexfilters - get_sends: Returns
memoandmemo_hexin the search results
9.55.2
- create_issuance: subassets longname are supported in the
assetparameter
9.53.0
- Add min_message_index to get_blocks API call
9.52.0
- Added getrawtransaction and getrawtransaction_batch methods to the API
- Added optional custom_inputs parameter to API calls, which allows for controlling the exact UTXOs to use in transactions (contributed by Tokenly)
9.51.0
- Deprecated
get_asset_info(assets)API method. Useget_issuances()andget_supply()instead. - Deprecated
get_xcp_supply()API method in favor ofget_supply(asset). - Changed
get_unspent_txoutsAPI method parameter and return values. - Added HTTP Rest API.
- Authentication on JSON‐RPC API is off by default
rpc_passwordconfiguration parameter is no longer mandatory
9.49.4
- The
do_*,sign_txandbroadcast_txmethods have been completely deprecated. See the section Wallet Integration. - Added REST API.
9.49.3
- *_issuance:
callable,call_dateandcall_priceare no longer valid parameters - *_callback: removed
- Bitcoin addresses may everywhere be replaced by pubkeys.
- The API will no longer search the local wallet for pubkeys, so they must be passed to the API manually if being used for the first time. Otherwise, you may get a "not published in blockchain" error.
9.43.0
- create_issuance:
callableis also accepted - create_*:
nullis used as default value for missing parameters
9.32.0
Summary: API framework overhaul for performance and simplicity
- "/api" with no trailing slash no longer supported as an API endpoint (use "/" or "/api/" instead)
- We now consistently reject positional arguments with all API methods. Make sure your API calls do not use positional
arguments (e.g. use
{"argument1": "value1", "argument2": "value2"}instead of["value1", "value2"])
9.25.0
- new do_* methods: like create_, but also sign and broadcast the transaction. Same parameters as create_, plus optional privkey parameter.
backwards incompatible changes
- create_*: accept only dict as parameters
- create_bet:
bet_typemust be a integer (instead string) - create_bet:
wagerandcounterwagerargs are replaced bywager_quantityandcounterwager_quantity - create_issuance: parameter
lock(boolean) removed (use LOCK in description) - create_issuance: parameter
transfer_destinationreplaced bydestination - DatabaseError: now a DatabaseError is returned immediately if the database is behind the backend, instead of after fourteen seconds
9.24.1
Summary: New API parsing engine added, as well as dynamic get method composition in api.py:
- Added
sqlAPI method - Filter params: Added
LIKE,NOT LIKEandIN