Skip to content

Latest commit

 

History

History
89 lines (68 loc) · 2.74 KB

File metadata and controls

89 lines (68 loc) · 2.74 KB

Chainlink External Adapter for Bitex

1.3.36

Base URL https://bitex.la/api

This document was generated automatically. Please see README Generator for more info.

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT string https://bitex.la/api
API_KEY Bitex API key to use string

Input Parameters

Every EA supports base input parameters from this list

Required? Name Description Type Options Default
endpoint The endpoint to use string crypto, tickers crypto

Crypto Endpoint

NOTE: the price endpoint is temporarily still supported, however, is being deprecated. Please use the crypto endpoint instead.

Supported names for this endpoint are: crypto, tickers.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
base coin, from The symbol of the currency to query string
quote market, to The symbol of the currency to convert to string

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "crypto",
    "base": "ETH",
    "quote": "ARS"
  },
  "debug": {
    "cacheKey": "mLZ9U6HS/OYR+sGPWycJB43/AaA="
  },
  "rateLimitMaxAge": 222
}

Response:

{
  "jobRunID": "1",
  "data": {
    "data": {
      "id": "eth_ars",
      "type": "tickers",
      "attributes": {
        "last": 935234,
        "open": 934713,
        "high": 935234,
        "low": 907110,
        "vwap": 934877.7183770883,
        "volume": 1.257,
        "bid": 879407,
        "ask": 930127,
        "price_before_last": 920016
      }
    },
    "result": 934877.7183770883
  },
  "result": 934877.7183770883,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License