Chainlink External Adapter for Chainlink-challenge

A template to be used as an example for new External Adapters

(please fill out with corresponding information)

An example adapter description

Environment Variables

Required? Name Description Options Defaults to
API_KEY An API key that can be obtained from the data provider's dashboard (add a ✅ in Required? if this parameter is required)

Input Parameters

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

Chainlink-challenge Endpoint

An example endpoint description

Input Params

Required? Name Description Options Defaults to
base, from, or coin The symbol of the currency to query BTC, ETH, USD
quote, to, or market The symbol of the currency to convert to BTC, ETH, USD

Sample Input

{
  "id": "1",
  "data": {
    "base": "ETH",
    "quote": "USD"
  }
}

Sample Output

{
  "jobRunID": "278c97ffadb54a5bbb93cfec5f7b5503",
  "data": {
    "price": 77777.77,
    "result": 77777.77
  },
  "statusCode": 200
}