To improve your trading experience we are making some small changes on Transact to our WebSocket and REST APIs, of which you will find details below.
The changes will be available in Production from 3 September 2024
What is Changing?
Transact – Adding field “orderID” and population of the field “fee”
The field “orderID” will be added to the Transact to reference the order causing the Transact. If the Transact is not associated with any order, then the field “orderID” is not specified.
If the Transact amount contains a fee. The value of the fee will be specified in the “fee” column.
Example(s):
An example of the WebSocket partial message showing the “types” includes the “orderID” and “fee” fields:
{
"table": "transact",
"action": "partial",
"keys": [
"transactID"
],
"types": {
"transactID": "guid",
"account": "long",
"currency": "symbol",
"network": "symbol",
"transactType": "symbol",
"amount": "long",
"walletBalance": "long",
"fee": "long",
"transactStatus": "symbol",
"address": "symbol",
"tx": "symbol",
"orderID": "guid",
"text": "symbol",
"transactTime": "timestamp",
"timestamp": "timestamp",
"memo": "symbol"
},
"filter": {
"account": 1234567
},
"data": []
}
An example of the WebSocket update message showing the Transact with “orderID” and “fee” fields populated:
{
"table": "transact",
"action": "update",
"data": [
{
"transactID": "11000000-0000-0000-0000-000000000000",
"account": 1234567,
"currency": "XBt",
"amount": 1000,
"fee": 10,
"transactStatus": "Completed",
"orderID": "47af1845-ed36-4b1e-8a6b-2a0a0433456a",
"timestamp": "2018-01-22T05:31:46.000Z"
}
]
}
Why are we making this change?
We are adding/refining these fields after constructive feedback from some of our users who rely on these fields for their trading strategies.
If you have any questions about these upcoming changes, please contact Support.
To be the first to know about new listings, product launches, promotions or other updates we invite you to join one of our communities and follow us on Twitter or check our blog regularly.