Today's rates signed on chain
| Pair | Rate | Since last round | Signed by | Updated |
|---|---|---|---|---|
| Reading the latest rounds from the chain… | ||||
Portaldot pools against Kurs
Tokenised stocks already trade on Portaldot's built-in DEX. Here is what those pools say they are worth.
Reading pools…
Change money at today's rate
Any two assets with a Kurs path between them: one feed, its inverse, or two feeds through USD. The rounds come from the board above, on the network you picked.
Pull a fresh signed price
Kurs also works the ERC-7412 way: a contract that needs a fresher price reverts with OracleDataRequired, and your client fetches a signed bundle and submits it with the call. Get one here; this page checks every signature before showing it.
Read a feed from your contract
AggregatorV3Interface feed = AggregatorV3Interface(KURS_USD_IDR);
(, int256 rate, , uint256 updatedAt, ) = feed.latestRoundData();
require(block.timestamp - updatedAt < 1 hours, "stale");
#[ink::contract_ref(abi = "sol")]
pub trait KursOracle {
#[ink(message, name = "latestRound")]
fn latest_round(&self, feed: FixedBytes<32>) -> (u128, i128, u64, u64);
}
let (_, rate, _, updated) = KursOracleRef::from(oracle).latest_round(USD_IDR);
// KursDIA on Portaldot V3: 0x969b85f2c66b8504bb4f33e16333e7328187dfd9
(uint128 rate, uint128 observedAt) = IDIAOracleV2(KURS_DIA).getValue("USD/IDR");
(uint128 pot, ) = IDIAOracleV2(KURS_DIA).getValue("tPOT/pUSD"); // Portaldot's own price
bytes[] memory upd = new bytes[](1);
upd[0] = bundlePayload; // GET /api/bundle?pair=BTC/USD -> payload
IPyth(KURS_PYTH).updatePriceFeeds(upd); // fee 0, signatures checked on chain
PythStructs.Price memory p = IPyth(KURS_PYTH).getPrice(keccak256("BTC/USD"));
The same signed rounds also answer Band getReferenceData, API3 read(), Chronicle readWithAge(), Aave v3 getAssetPrice, ERC-7726 getQuote, Euler getQuotes, Silo v2 quote, Morpho Blue price() and a time-weighted average (KursTwap.consult) on Sepolia, and agents can use the MCP server (it also verifies a bundle's signatures against the on-chain reporter set) or pay per bundle with x402. Addresses: README, llms.txt.