Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.81 KB

File metadata and controls

71 lines (51 loc) · 1.81 KB

Chainlink External Adapter for MyCryptoApi

1.2.36

Base URL https://gas.mycryptoapi.com/

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

Environment Variables

There are no environment variables 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, fastest, safeLow, standard fast

Example

Request:

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

Response:

{
  "jobRunID": "1",
  "data": {
    "safeLow": 122,
    "standard": 134,
    "fast": 148,
    "fastest": 160,
    "blockNum": 13722866,
    "result": 148
  },
  "result": 148,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License