Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 2.29 KB

File metadata and controls

83 lines (60 loc) · 2.29 KB

Chainlink External Adapter for Etherchain (Rebranded under Beaconchain)

1.4.33 v2

Base URL https://beaconcha.in

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

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT string https://beaconcha.in

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 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, rapid, slow, standard standard

Example

Request:

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

Response:

{
  "jobRunID": "1",
  "data": {
    "code": 200,
    "data": {
      "rapid": 69000000000,
      "fast": 38200000000,
      "standard": 17122906179,
      "slow": 15280244053,
      "timestamp": 1654610878715,
      "priceUSD": 1760.29
    },
    "result": 38200000000
  },
  "result": 38200000000,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License