Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.71 KB

File metadata and controls

68 lines (47 loc) · 1.71 KB

Chainlink External Adapter for Cache.gold

1.2.36

Base URL https://contract.cache.gold/api

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

Environment Variables

Required? Name Description Type Options Default
API_ENDPOINT string https://contract.cache.gold/api

Input Parameters

Every EA supports base input parameters from this list

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

LockedGold Endpoint

Query the total gold grams locked in cache.gold.

lockedGold is the only supported name for this endpoint.

Input Params

There are no input parameters for this endpoint.

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "lockedGold"
  },
  "debug": {
    "cacheKey": "aZoya+gFve1ms9ObNR40aMrNGvE="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "grams_locked": "91571.93000000",
    "result": 91571.93
  },
  "result": 91571.93,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License