⚡Oracles
Provides connectivity across the various Oracles available on the EVM and Non-EVM chains.
Following are the common functions implemented for all the Oracle protocols:-
Name | Type | Description |
---|---|---|
getprice | Read | Get the Price(in USDT) of a token on either all or the specified protocol. |
getsupportedtokens | Read | Get the list of supported tokens on Expand.network, for the specified oracle. |
/getprice
Get the Price(in USDT) of a token.
GET
https://api.expand.network/oracle/getprice
Query Parameters
Name | Type | Description |
---|---|---|
asset* | String | Name of the token, whose price is to be fetched. |
oracleId | String | Refer to the Oracle IDs page for details. |
oracleName | String | Refer to the Oracle IDs page for details. |
timestamp | String | Specify the particular point in time for which we have to fetch the price. |
Last updated