WinkLink

/getprice

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

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=usdc&oracleId=1100

/getsupportedtokens

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

Query Parameters

NameTypeDescription

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/getsupportedtokens?oracleId=1100

Last updated