Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 4.08 KB

File metadata and controls

63 lines (44 loc) · 4.08 KB

GLV_TOKEN

1.0.0 v3

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

Environment Variables

Required? Name Description Type Options Default
ARBITRUM_RPC_URL RPC url of Arbitrum node string
ARBITRUM_CHAIN_ID The chain id to connect to number 42161
DATASTORE_CONTRACT_ADDRESS Address of Data Store contract string 0xFD70de6b91282D8017aA4E741e9Ae325CAb992d8
GLV_READER_CONTRACT_ADDRESS Address of Glv Reader Contract string 0x6a9505D0B44cFA863d9281EA5B0b34cB36243b45
TIINGO_ADAPTER_URL URL of Tiingo EA string
NCFX_ADAPTER_URL URL of NCFX EA string
COINMETRICS_ADAPTER_URL URL of Coinmetrics EA string
MIN_REQUIRED_SOURCE_SUCCESS Minimum number of source EAs that need to successfully return a value. number 2
MARKET_INFO_API URL market meta data supported by Glv string https://arbitrum-api.gmxinfra.io/markets
TOKEN_INFO_API URL to token meta data supported by Glv string https://arbitrum-api.gmxinfra.io/tokens
METADATA_REFRESH_INTERVAL_MS The amount of time the metadata should be refreshed number 10800000
BACKGROUND_EXECUTE_MS The amount of time the background execute should sleep before performing the next request number 10000

Data Provider Rate Limits

There are no rate limits for this adapter.


Input Parameters

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

Price Endpoint

price is the only supported name for this endpoint.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
glv Glv address string

Example

Request:

{
  "data": {
    "endpoint": "price",
    "glv": "0x528A5bac7E746C9A509A1f4F6dF58A03d44279F9"
  }
}

MIT License