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.
https://api.expand.network/oracle/getprice?asset=usdc&oracleId=1000{
"status": 200,
"msg": "success",
"data": {
"roundId": "36893488147419104052",
"answer": "0.99999",
"startedAt": "1675316735",
"updatedAt": "1675316735",
"answeredInRound": "36893488147419104052"
}
}/getsupportedtokens
Get the list of supported tokens on Expand.network, for ChainLink.
GET https://api.expand.network/oracle/getsupportedtokens
Query Parameters
https://api.expand.network/oracle/getsupportedtokens?oracleId=1000{
"status": 200,
"msg": "success",
"data": [
"AMPL",
"ANKR",
"APE",
"ARB",
"AUD",
"BAL",
"CAD",
"CAKE",
"CHF",
"CNY",
"CRV",
"CRVUSD",
"CVX",
"ENS",
"EUR",
"FDUSD",
"FXS",
"GBP",
"GHO",
"GRT",
"GUSD",
"HIGH",
"IMX",
"JPY",
"KNC",
"KRW",
"LTC",
"LUSD",
"MIM",
"NZD",
"PYUSD",
"RDNT",
"RPL",
"RSR",
"SAND",
"SGD",
"SNX",
"SPELL",
"STETH",
"STG",
"SUSD",
"SXP",
"TRY",
"USDD",
"WING",
"XAG",
"XAU",
"XCN",
"BTC",
"FEI",
"TUSD",
"MKR",
"SUSHI",
"USDP",
"YFI",
"ZRX",
"ETH",
"DAI",
"MANA",
"AAVE",
"FRAX",
"COMP",
"1INCH",
"BNB",
"XRP",
"ADA",
"SOL",
"DOT",
"DOGE",
"AVAX",
"MATIC",
"UNI",
"TRX",
"ETC",
"USDT",
"USDC",
"LINK"
]
}Last updated

