Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 2.68 KB

File metadata and controls

55 lines (36 loc) · 2.68 KB

FRXETH-EXCHANGE-RATE

1.1.4 v3

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

Environment Variables

Required? Name Description Type Options Default
RPC_URL The RPC URL to connect to the EVM chain string
CHAIN_ID The chain id to connect to number 1
FRAX_ETH_PRICE_CONTRACT The address of the deployed Frax Dual Oracle Price Logic contract string 0x350a9841956D8B0212EAdF5E14a449CA85FAE1C0
BACKGROUND_EXECUTE_MS The number of milliseconds the background execute should sleep before performing the next request number 1000

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

Crypto Endpoint

crypto is the only supported name for this endpoint.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
priceType The price type to fetch, either 'HIGH' or 'LOW'. string HIGH, LOW, high, low

Example

Request:

{
  "data": {
    "endpoint": "crypto",
    "priceType": "high"
  }
}

MIT License