Skip to content

Latest commit

 

History

History
150 lines (121 loc) · 3.48 KB

File metadata and controls

150 lines (121 loc) · 3.48 KB

Chainlink External Adapters for querying wBTC custodial address set

1.3.37

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

Environment Variables

Required? Name Description Type Options Default
MEMBERS_ENDPOINT wBTC endpoint of members (and their addresses). Required for members endpoint string
ADDRESSES_ENDPOINT wBTC endpoint of addresses. Required for addresses endpoint string

Input Parameters

Every EA supports base input parameters from this list

Required? Name Description Type Options Default
endpoint The endpoint to use string addresses, members addresses

Addresses Endpoint

addresses is the only supported name for this endpoint.

Input Params

There are no input parameters for this endpoint.

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "addresses"
  },
  "debug": {
    "cacheKey": "5r8fx7Q3nfO/LZJVMjBrF5H2r1c="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "result": [
      {
        "id": "601c5e4b11b1d4001e37091aa2618ee9",
        "address": "31h6SJ58NqVrifuyXN5A19ByD6vgyKVHEY",
        "balance": "0",
        "type": "custodial",
        "verified": false,
        "coin": "btc",
        "chainId": "mainnet",
        "network": "bitcoin"
      }
    ],
    "count": 1
  },
  "result": [
    {
      "id": "601c5e4b11b1d4001e37091aa2618ee9",
      "address": "31h6SJ58NqVrifuyXN5A19ByD6vgyKVHEY",
      "balance": "0",
      "type": "custodial",
      "verified": false,
      "coin": "btc",
      "chainId": "mainnet",
      "network": "bitcoin"
    }
  ],
  "statusCode": 200,
  "providerStatusCode": 200
}

Members Endpoint

members is the only supported name for this endpoint.

Input Params

There are no input parameters for this endpoint.

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "members"
  },
  "debug": {
    "cacheKey": "FOTIQNRdneVgiSXx8lU+mK3y2fs="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "result": [
      {
        "id": "601323767069d60008cb538b32c33cb1",
        "address": "3Lto4jAz1aGJQwNSAZ6TEEFuoHoBb8kRc7",
        "type": "custodial",
        "balance": "0",
        "verified": false,
        "coin": "btc",
        "chainId": "mainnet",
        "network": "bitcoin"
      }
    ],
    "count": 1
  },
  "result": [
    {
      "id": "601323767069d60008cb538b32c33cb1",
      "address": "3Lto4jAz1aGJQwNSAZ6TEEFuoHoBb8kRc7",
      "type": "custodial",
      "balance": "0",
      "verified": false,
      "coin": "btc",
      "chainId": "mainnet",
      "network": "bitcoin"
    }
  ],
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License