ASSETS Endpoints

Get live exchange rates for major currency pairs

get

Returns live bid (sell price) and ask (buy price) for a trading pair. IMPORTANT: Prices do not include the service commission applied to the account.

Authorizations
Path parameters
pairstring · enumRequiredPossible values:
Responses
200

Success

application/json
get
GET /assets/rates/{pair} HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "pair": "text",
  "ask": 1,
  "bid": 1
}

Get live network fee for major currencies

get
Authorizations
Path parameters
currencystring · enumRequiredPossible values:
Responses
200

Success

application/json
get
GET /assets/networkFee/{currency} HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "inNative": 1,
  "inStable": 1
}

Supported assets

get
Authorizations
Responses
200

Success

application/json
get
GET /assets/supported HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "supportedCurrencies": [
    {
      "currency": "BTC",
      "currencyName": "Bitcoin",
      "decimals": 8,
      "transactionTypes": {
        "deposit": {
          "supported": true
        },
        "withdrawal": {
          "supported": true
        },
        "incoming": {
          "supported": true,
          "exchangeTo": [
            "EUR",
            "USD",
            "USDT_ERC20"
          ]
        },
        "outgoing": {
          "supported": true,
          "exchangeFrom": [
            "EUR",
            "USD",
            "USDT_ERC20"
          ]
        }
      }
    }
  ]
}

Last updated