Oracle
Last updated
Last updated
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:-
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.
GET
https://api.expand.network/oracle/getprice
asset*
String
Name of the token, whose price is to be fetched.
oracleId
String
Refer to the page for details.
oracleName
String
Refer to the page for details.