Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 2.19 KB

File metadata and controls

75 lines (51 loc) · 2.19 KB

Chainlink External Adapter for CoinCodex

1.3.32 v2

Price adapter to query the price of an asset in USD. Only USD is supported by CoinCodex as a quote currency.

Base URL https://coincodex.com/api/coincodex/

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

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT string https://coincodex.com/api/coincodex/

Data Provider Rate Limits

There are no rate limits for this adapter.


Input Parameters

Every EA supports base input parameters from this list

Required? Name Description Type Options Default
endpoint The endpoint to use string getcoin getcoin

Getcoin Endpoint

getcoin is the only supported name for this endpoint.

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

Example

Request:

{
  "id": "1",
  "data": {
    "base": "ETH"
  },
  "debug": {
    "cacheKey": "6fb77e7265859558a11c0d4e7de704cb1de254c0"
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "result": 4533.8640179546355
  },
  "result": 4533.8640179546355,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License