Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.72 KB

File metadata and controls

54 lines (45 loc) · 1.72 KB

Chainlink External Adapter for CryptoMKT

Input Parameters

Required? Name Description Options Defaults to
endpoint The endpoint to use crypto crypto

Crypto Endpoint

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

Input Params

Required? Name Description Options Defaults to
base, from, coin The symbol of the currency to query
quote, to, market The symbol of the currency to convert to
field The object path to access the value that will be returned as the result last_price

Sample Input

{
  "id": "1",
  "data": { "coin": "BTC", "market": "ARS" }
}

Sample Output

{
  "jobRunID": "1",
  "data": {
    "status": "success",
    "data": [
      {
        "timestamp": "2020-10-06T10:51:51.332281",
        "market": "BTCARS",
        "bid": "1559980",
        "ask": "1578940",
        "last_price": "1559980",
        "low": "1530000",
        "high": "1595500",
        "volume": "3.754635486362988398"
      }
    ],
    "result": 1559980
  },
  "result": 1559980,
  "statusCode": 200
}