WinkLink
/getprice
Get the Price(in USDT) of a token for the given protocol.
GET
https://api.expand.network/oracle/getprice
Query Parameters
https://api.expand.network/oracle/getprice?asset=usdc&oracleId=1100
{
"status": 200,
"msg": "success",
"data": {
"roundId": "445",
"answer": "0.99995",
"startedAt": "1675306176",
"updatedAt": "1675306188",
"answeredInRound": "445"
}
}
/getsupportedtokens
Get the list of supported tokens on Expand.network, for WinkLink.
GET
https://api.expand.network/oracle/getsupportedtokens
Query Parameters
https://api.expand.network/oracle/getsupportedtokens?oracleId=1100
{
"status": 200,
"msg": "success",
"data": [
"BTC",
"ETH",
"TRX",
"USDT",
"WIN",
"BTT",
"BTTOLD",
"JST",
"LIVE",
"LTC",
"NFT",
"SUN",
"SUNOLD",
"TUSD",
"USDC",
"USDD",
"USDJ"
]
}