Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 2.07 KB

File metadata and controls

74 lines (54 loc) · 2.07 KB

Chainlink External Adapter for Etherchain

1.2.36

Base URL https://www.etherchain.org

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

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT string https://www.etherchain.org

Input Parameters

Every EA supports base input parameters from this list

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

Gasprice Endpoint

gasprice is the only supported name for this endpoint.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
speed The desired speed string fast, fastest, safeLow, standard standard

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "gasprice",
    "speed": "fast"
  },
  "debug": {
    "cacheKey": "0BJQ6WrEaARtjkqLfBrRVKG+QcE="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "safeLow": 1,
    "standard": 1,
    "fast": 1.5,
    "fastest": 2,
    "currentBaseFee": 126.6,
    "recommendedBaseFee": 257,
    "result": 1500000000
  },
  "result": 1500000000,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License