Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 2.96 KB

File metadata and controls

60 lines (41 loc) · 2.96 KB

SYNTHETIX_FEEDS

1.1.9 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
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
base The symbol of symbols of the currency to query string sUSDe, wstETH
quote The symbol of the currency to convert to string USD
base_address The address of contract that convert base into an intermidate currency string
quote_address The address of contract that convert intermidate currency into quote string

Example

Request:

{
  "data": {
    "endpoint": "price",
    "base": "sUSDe",
    "quote": "USD",
    "base_address": "0x0000000000000000000000000000000000000000",
    "quote_address": "0x0000000000000000000000000000000000000000"
  }
}

MIT License