Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 1.86 KB

File metadata and controls

74 lines (50 loc) · 1.86 KB

Chainlink External Adapter for Cache.gold

1.3.32 v2

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

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 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