Skip to content

Latest commit

 

History

History
103 lines (83 loc) · 3.18 KB

File metadata and controls

103 lines (83 loc) · 3.18 KB

Chainlink External Adapter for Wrapped

2.1.36

Base URL http://chainlink.wrappedeng.com

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

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT

Input Parameters

Every EA supports base input parameters from this list

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

Deposits Endpoint

deposits is the only supported name for this endpoint.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
symbol The symbol of the currency to query (BTC, ETH, LTC, etc.). string
network The network of the currency to query (ethereum, bitcoin, litecoin, stellar, etc.). string
chainId The chainId of the currency to query string mainnet

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "deposits",
    "symbol": "ETH",
    "chainId": "mainnet"
  },
  "debug": {
    "cacheKey": "AfHCAiARodF3nQSKihXh2LjDMl0="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "result": [
      {
        "address": "0x6E4C739B4d66E7104739Fc0F235E9c9FFD1F8da4",
        "network": "ethereum",
        "chainId": "mainnet"
      },
      {
        "address": "0x67a53ADbA557E6129D3Eb1aab090E23D22711DB2",
        "network": "ethereum",
        "chainId": "mainnet"
      },
      {
        "address": "0x57Fc3f242aD907E9518645Ba4D0802F7a65B3677",
        "network": "ethereum",
        "chainId": "mainnet"
      }
    ]
  },
  "result": [
    {
      "address": "0x6E4C739B4d66E7104739Fc0F235E9c9FFD1F8da4",
      "network": "ethereum",
      "chainId": "mainnet"
    },
    {
      "address": "0x67a53ADbA557E6129D3Eb1aab090E23D22711DB2",
      "network": "ethereum",
      "chainId": "mainnet"
    },
    {
      "address": "0x57Fc3f242aD907E9518645Ba4D0802F7a65B3677",
      "network": "ethereum",
      "chainId": "mainnet"
    }
  ],
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License