Skip to content

071asset_config

张帅磊 edited this page Jul 9, 2021 · 5 revisions

Acquire Asset Config

  • Request description: acquire asset config

  • Request type: GET

  • Signature required: No

  • Request Url:https://api.coinex.com/v1/common/asset/config

  • Request parameter:

    name type required description
    coin_type String No Coin type, e.g. BCH. If no coin_type is entered, the asset config of all the supported coins/tokens will be returned. If coin_type is provided, the asset config of the specific coin/token will be sent back instead.
  • Return value description:

    name type description
    asset String coin type
    chain String chain name
    can_deposit bool coin type deposit status
    can_withdraw bool coin type withdraw status
    deposit_least_amount String deposit least amount
    withdraw_least_amount String withdraw least amount
    withdraw_tx_fee String withdraw tx fee
  • Example:

# Request
GET https://api.coinex.com/v1/common/asset/config
# Response
{
    "code": 0,
    "data": {
        "ADA": {
            "asset": "ADA",
            "chain": "ADA",
            "can_deposit": true,
            "can_withdraw": true,
            "deposit_least_amount": "140",
            "withdraw_least_amount": "140",
            "withdraw_tx_fee": "73"
        },
        "BCH": {
            "asset": "BCH",
            "chain": "BCH",
            "can_deposit": true,
            "can_withdraw": true,
            "deposit_least_amount": "140",
            "withdraw_least_amount": "140",
            "withdraw_tx_fee": "73"
        }
        ...
    },
    "message": "Ok"
}

HTTP API Introduction

Common API

Market API

Account API

Trading API

Margin API

Contract API

WebSocket API Introduction

Clone this wiki locally