ChainLink

/getprice

Get the Price(in USDT) of a token for the given protocol.

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.

https://api.expand.network/oracle/getprice?asset=usdc&oracleId=1000

/getsupportedtokens

Get the list of supported tokens on Expand.network, for ChainLink.

GET https://api.expand.network/oracle/getsupportedtokens

Query Parameters

Name
Type
Description

oracleId*

String

Refer to the Oracle IDs page for details.

oracleName

String

Refer to the Oracle IDs page for details.

https://api.expand.network/oracle/getsupportedtokens?oracleId=1000

Last updated