ASSETS Endpoints
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
401
Unauthorized
application/json
404
Not found
application/json
500
Internal server error
application/json
504
Gateway timeout
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
}
Authorizations
Path parameters
currencystring · enumRequiredPossible values:
Responses
200
Success
application/json
401
Unauthorized
application/json
404
Not found
application/json
500
Internal server error
application/json
504
Gateway timeout
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
}
Authorizations
Responses
200
Success
application/json
401
Unauthorized
application/json
404
Not found
application/json
500
Internal server error
application/json
504
Gateway timeout
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