Skip to content

065get_deposit_list

何文振 edited this page Jun 29, 2021 · 4 revisions

Inquire Deposit List

  • Request description: Inquire deposit history

  • Request type: GET

  • Signature required: Yes

  • Request Header:
    authorization:"xxxx"(32-digit capital letters, see generating method in <API invocation instruction>)

  • Request Url:https://api.coinex.com/v1/balance/coin/deposit

  • Request parameter:

    name type required description
    access_id String Yes access_id
    tonce Integer Yes Tonce is a timestamp with a positive Interger that represents the number of milliseconds from Unix epoch to the current time. Error between tonce and server time can not exceed plus or minus 60s
    coin_type String No Coin type, e.g. BCH. Filter its withdrawal list when the parameter is passed.
    status String No Status, options: PROCESSING/CONFIRMING/CANCELLED/FINISHED/TO_HOT/TOO_SMALL
    page Interger No Page, start from 1
    Limit Interger No Amount per page(1-100)
  • Return value description:

    name description
    actual_amount actual deposit amount
    actual_amount_display display of actual deposit amount
    add_explorer Depositor
    amount Amount
    amount_display Amount displayed
    coin_address Deposit add
    coin_address_display Deposit add displayed
    coin_deposit_id Deposit ID
    coin_type Coin type
    confirmations confirmations
    create_time create time
    explorer explorer
    remark remark
    status processing,confirming,cancel,finish
    status_display Status displayed
    transfer_method transfer method
    tx_id tx id
    tx_id_display tx id display
  • Example:

# Request
GET https://api.coinex.com/v1/balance/coin/deposit?access_id=XXX6FXXXXXXXXXX902XXXXX89&tonce=1513746038205
# Response
{
  "code": 0,
  "data": {
    "count": 2,                                 
    "curr_page": 1,                             
    "data": [
      {
        "actual_amount": "120.00000000",        
        "actual_amount_display": "120",         
        "add_explorer": "XXX",                   
        "amount": "120.00000000",               
        "amount_display": "120",                
        "coin_address": "XXXXXXXX",             
        "coin_address_display": "XXXXXXXX",     
        "coin_deposit_id": 1866,                
        "coin_type": "USDT",                    
        "confirmations": 0,                      
        "create_time": 1539595701,              
        "explorer": "",                         
        "remark": "",                           
        "status": "finish",                     
        "status_display": "finish",             
        "transfer_method": "local",             
        "tx_id": "",                            
        "tx_id_display": "XXXXXXXXXX"
      }
    ],
    "has_next": false,
    "total": 2,                                 
    "total_page": 1                             
  },
  "message": "Ok"
}

HTTP API Introduction

Common API

Market API

Account API

Trading API

Margin API

Contract API

WebSocket API Introduction

Clone this wiki locally