ChangeLogs
2021.08.14:
- Align websocket and V3 NFT/ERC20 balance response data structure.
- ERC20 balance data no change.
- NFT balance data no change.
- Websocket account topic subscription data changed:
- The topic changes to {"topic": "account", "accountId": "10005", "v3": true}, and 2 response fields changed:
to align with the V3 REST query balance API response. "v3" flag in subscription is optional and back compatible with previous subscription message.totalAmount -> total amountLocked -> locked
- The topic changes to {"topic": "account", "accountId": "10005", "v3": true}, and 2 response fields changed:
2021.08.18:
- Add a flag
forceToMint
to force mint duplicated NFT_ID token. If it's false, there is no second mint on same token address + NFT_ID.
2021.09.01:
- Refine API and fix few typos.
/api/v3/user/nft/transfer -> /api/v3/user/nft/transfers /api/v3/user/nft/mint -> /api/v3/user/nft/mints
- Refine block generation websocket notification.
- Add
hashes
filter to L2 tx queries. - getStorageId logic changed, a new flag
maxNext
to back compatible with previous behavior.
2021.09.10:
- Add keySeed to let user choose their L2 key generation seed.
- Add /api/v3/user/nft/orderFee to query NFT trading fees.
2021.09.20:
- Make /api/v3/user/transfers a general transfer query by hash without accountId.
2021.09.24:
- New NFT order conf query API /api/v3/nft/info/orderUserRateAmount to get the minimum amount/feeRate of NFT trade.
- Update nft trade API, add new flag for VIP user to bypass the fee check. Meanwhile, using eddsa signature to identify the VIP account.
- Websocket block subscription sends block complete(finalized in L1) event notification.
2021.10.07:
- Support nonZero flag to filter out zero NFT balances.
- Support get account by accountId.
2021.10.07:
- Add mix depth/candlestick/ticker queries APIs.
- Add mix orderbook websocket subscription API.