Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 1.78 KB

File metadata and controls

74 lines (50 loc) · 1.78 KB

Chainlink External Adapter for Lido

2.0.20 v2

By default fetches the value of stMATIC/USD

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

Environment Variables

Required? Name Description Type Options Default
POLYGON_RPC_URL Polygon RPC URL string
POLYGON_CHAIN_ID The chain id to connect to string 137

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

Stmatic Endpoint

stMATIC token price in USD.

stmatic is the only supported name for this endpoint.

Input Params

There are no input parameters for this endpoint.

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "stmatic"
  },
  "debug": {
    "cacheKey": "5bw+9BVRUWe1yPyws7E5OJiSTK8="
  }
}

Response:

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

MIT License