RedStone

Supported Chains

Available on Ethereum Mainnet, Arbitrum, Base, and zkSync.

Available Endpoints:

Click on the endpoint to jump to the section with full details

  • getprice GET - Get the Price(in USDT) of a token for the given protocol.

  • getsupportedtokens GET - Get the list of supported tokens on Expand.network, for RedStone.

Oracle IDs

Many endpoints have a parameter where you can provide a Oracle ID.

Below is a list of Oracle IDs related to Redstone. Please see the Oracle ID Page for a complete Oracle ID list and more information.

Oracle Name
Chain
Oracle ID

Redstone

Ethereum

1300

Redstone

Arbitrum

1301

Redstone

Base

1302

Redstone

zkSync

1303

Endpoint Details

/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

oracleId*

String

Refer to the Oracle IDs page for details.

oracleName

String

Refer to the Oracle IDs page for details.

asset*

String

Name of the token, whose price is to be fetched.

https://api.expand.network/oracle/getprice?oracleId=1300&asset=WEETH

/getsupportedtokens

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

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=1300

Last updated