Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 2.3 KB

File metadata and controls

81 lines (58 loc) · 2.3 KB

Chainlink External Adapter for LCX

1.3.37 v2

Base URL https://rp.lcx.com/v1/rates/current

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

Environment Variables

Required? Name Description Type Options Default
API_KEY string

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 price price

Price Endpoint

price 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, one of BTC or ETH
quote market, to The symbol of the currency to convert to, one of USD or EUR

Example

Request:

{
  "id": "1",
  "data": {
    "base": "BTC",
    "quote": "USD",
    "endpoint": "price"
  },
  "debug": {
    "cacheKey": "FJwi4xGjPziT9t6opKzk/NGGQms="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "status": "SUCCESS",
    "message": "Reference Price for BTC",
    "data": {
      "Price": 58620.71
    },
    "result": 58620.71
  },
  "result": 58620.71,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License