RISE Logo-Light

Internal Oracles

Price oracle addresses on RISE Testnet

Internal price oracles deployed on RISE Testnet.

Oracle Addresses

Usage

The oracle price for each asset can be fetched by calling the latest_answer function on the respective oracle address.

interface IPriceOracle {
    function latest_answer() external view returns (int256);
}

// Example: Get ETH price
IPriceOracle ethOracle = IPriceOracle(0x7114E2537851e727678DE5a96C8eE5d0Ca14f03D);
int256 ethPrice = ethOracle.latest_answer();