This document was generated automatically. Please see README Generator for more info.
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 |
There are no rate limits for this adapter.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | crypto | crypto |
crypto
is the only supported name for this endpoint.
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 |
Request:
{
"data": {
"endpoint": "crypto",
"priceType": "high"
}
}
MIT License