Skip to main content

Deposit

API Scopes

Need Permission to view deposit history

Deposit

Attrubute NameTypeDescriptionExample
idnumberid of deposit
customer_idstringid of customer
asset_symbolstringsymbol of asset
amountstringamount
statestringdeposit status, one of "COMPLETED"/"PENDING"/"WITHHOLD"/"CANCELLED"
memostringmomo
txidstringtxid of deposit
confirmed_atstringconfirmed time
inserted_atstringdeposit time
confirmsnumbernumber of confirm
target_accountstringdeposit target account, one of "FUND"/"SPOT"/"CONTRACT"/"OTC"/"EARN"/"NFT"

Deposit of user

Required read permission of wallet

GET /viewer/deposits

Parameters

NameTypeRequireDescriptionExample
page_tokenstringfalserequest page after this page token
limitstringfalsedefalut 50
kindstringfalseair_drop, big_holder_dividend, default, eosc_to_eos, internal, equally_airdrop, referral_mining, one_holder_dividend, single_customer, snapshotted_airdrop, trade_mining
asset_symbolstringfalseasset symbolBTC

Response example

{
"code": 0,
"page_token": "eyJvZmZzZXQiOjEwMCwia2luZCI6IlRSQU5TRkVSIn0=",
"data": [{
"id": 6,
"amount": "14.0",
"confirms": 100,
"txid": "513b80e5619155b24fbf0412d59f6256f86b0d69",
"is_internal": false,
"inserted_at": "2018-02-14T11:23:54.000Z",
"updated_at": "2018-09-21T08:28:57.000Z",
"kind": "default",
"memo": "",
"state": "WITHHOLD",
"asset_symbol": "BTS",
"target_account": "FUND"
}, {
"id": 5,
"amount": "25.0",
"confirms": 100,
"txid": "72e03037d144dae3d32b68b5045462b1049a0755",
"is_internal": false,
"inserted_at": "2018-02-16T11:39:58.000Z",
"updated_at": "2018-11-09T10:20:09.000Z",
"kind": "default",
"memo": "",
"state": "WITHHOLD",
"asset_symbol": "BTS",
"target_account": "SPOT"
}]
}

Get deposite address of one asset of user

Required read permission of wallet

GET  /viewer/assets/:asset_symbol/address

Response example

{
"code":0,
"message":"",
"data":[{
"id":1,
"chain":"BTC",
"value":"1EVzaFkkNNXq6RJh2oywwJMn8JPiq8ikDi",
"memo":""
}]
}