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 |
|
BACKGROUND_EXECUTE_MS | The amount of time the background execute should sleep before performing the next request | number | 10000 |
There are no rate limits for this adapter.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | price | price |
price
is the only supported name for this endpoint.
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 |
Request:
{
"data": {
"endpoint": "price",
"base": "sUSDe",
"quote": "USD",
"base_address": "0x0000000000000000000000000000000000000000",
"quote_address": "0x0000000000000000000000000000000000000000"
}
}
MIT License