get https://api.huobi.us/v1/query/deposit-withdraw
This endpoint searches for all existed withdraws and deposits and return their latest status.
State value range:
withdraw states:
state | description |
---|---|
submitted | Withdraw request submitted successfully |
reexamine | Under examination for withdraw validation |
canceled | Withdraw canceled by user |
pass | Withdraw validation passed |
reject | Withdraw validation rejected |
pre-transfer | Withdraw is about to be released |
wallet-transfer | On-chain transfer initiated |
wallet-reject | Transfer rejected by chain |
confirmed | On-chain transfer completed with one confirmation |
confirm-error | On-chain transfer faied to get confirmation |
repealed | Withdraw terminated by system |
deposit states:
state | description |
---|---|
unknown | On-chain transfer has not been received |
confirming | On-chain transfer waits for first confirmation |
confirmed | On-chain transfer confirmed for at least one block |
safe | Multiple on-chain confirmation happened |
orphan | Confirmed but currently in an orphan branch |
/* GET /v1/query/deposit-withdraw?currency=xrp&type=deposit&from=5&size=12 */
{
"status": "ok",
"data": [
{
"id": 1171,
"type": "deposit",
"currency": "xrp",
"tx-hash": "ed03094b84eafbe4bc16e7ef766ee959885ee5bcb265872baaa9c64e1cf86c2b",
"amount": 7.457467,
"address": "rae93V8d2mdoUQHwBDBdM4NHCMehRJAsbm",
"address-tag": "100040",
"fee": 0,
"state": "safe",
"created-at": 1510912472199,
"updated-at": 1511145876575
},
...
]
}