All notable changes to the API server will be documented in this file.
The format is loosely based on Keep a Changelog.
- New endpoint was added:
/v2/transaction/{id}/output/{idx}.
-
/v2/token/ticker/{ticker}will now return all tokens whose ticker has the specified{ticker}as a substring (previously only exact matches were returned). -
CURRENT_STORAGE_VERSIONwas increased, full resync is required.
No changes
- New endpoint was added:
/v2/address/{address}/token-authority
-
Transactions returned by
/v2/transactionnow have a fixed global order; it is defined by the order of blocks and the order of transactions in each particular block.Also, the endpoint gained an additional parameter -
offset_mode, which alters the meaning of theoffsetparameter.
The possible values are:-
legacy(default); this is the original behavior, whereoffsetis relative to the end of the overall transaction list.
I.e./v2/transaction?offset=0&items=10will return the 10 latest transactions. -
absolute; hereoffsetis just an index in the overall transaction list.
Similarly to the legacy mode,itemsspecifies the number of transactions before the specified position in the global transaction list. I.e./v2/transaction?offset_mode=absolute&offset=0&items=10will return an empty list and/v2/transaction?offset_mode=absolute&offset=1000&items=10will return transactions with indices in the range [990, 999].
-
-
/v2/address/{address}now also returns token balances for the address. -
In endpoints that return transaction info (such as
transaction/{id}), the returned info about a spent HTLC UTXO now includes the HTLC secret. -
/v2/pooland/v2/pool/{id}now also return the total delegations balance. -
/v2/token/{id}now also returns the token's next nonce. -
Optimized database queries for the retrieval of the latest delegation states.
-
CURRENT_STORAGE_VERSIONwas increased, full resync is required.
-
Fixed the issue of
Burnoutputs being incorrectly reported asLockThenTransfer. -
Fixed the issue of the
MintTokens'samountbeing calculated using coin's decimals instead of the token's.
- In endpoints that return transaction info (such as
transaction/{id}), the returned info about aFillOrderinput no longer includesdestination.
- New endpoints were added:
/v2/order/v2/order/{id}/v2/order/pair/{asset1}_{asset2}
- The
/v2/nft/{id}endpoint now also returns the owner of the NFT. - The
/v2/order/{id}endpoint now also returns the current nonce of the order. CURRENT_STORAGE_VERSIONwas increased, full resync is required.
- Fixed a crash in the
/v2/transaction/{id}endpoint due to token info missing in the db after an order fill transaction has been processed.
No changes
First major release.