Oracle

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:-

NameTypeDescription

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

NameTypeDescription

asset*

String

Name of the token, whose price is to be fetched.

oracleId

String

Refer to the Oracle ID page for details.

oracleName

String

Refer to the Oracle ID page for details.

https://api.expand.network/oracle/getprice?asset=usdt

Last updated

#553: ENC-2526-LIDO

Change request updated