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.
timestamp
String
Specify the particular point in time for which we have to fetch the price.
hours
string
Comma seperated of hours for which the price should be fetched, if required.
days
string
Comma seperated of days for which the price should be fetched, if required.
weeks
string
Comma seperated of weeks for which the price should be fetched, if required.
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
https://api.expand.network/oracle/getsupportedtokens?oracleId=1000
Last updated