Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 2.19 KB

File metadata and controls

76 lines (53 loc) · 2.19 KB

Chainlink External Adapter for EtherScan

1.3.36 v2

Base URL https://api.etherscan.io

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

Environment Variables

Required? Name Description Type Options Default
API_KEY An API key that can be obtained here string https://api.etherscan.io

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, medium, safe fast

Example

Request:

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

Response:

{
  "jobRunID": "1",
  "data": {
    "status": "1",
    "message": "OK",
    "result": 128
  },
  "result": 128,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License