TachiDocs
On this page

Feed adapters

Per-feed contracts with the familiar latestRoundData shape, for code that already expects it.

Integrate

Read Tachi data from Solidity, Clarity or the API.

1 min read 2 sections Testnet

When to use an adapter

New integrations should call IPriceOracle directly. Adapters exist for existing code that reads latestRoundData() and decimals() from one address per feed. Each adapter reads the oracle underneath, so the security model is the same.

solidity
(, int256 answer, , uint256 updatedAt, ) = adapter.latestRoundData();
require(block.timestamp - updatedAt < 15 minutes, "stale");
uint8 d = adapter.decimals(); // 8

Deployed adapters on Base Sepolia

SCOM/KES0xa8FD…27548
SCOM/KES0xA452…43a78
SCOM/USD0x8431…c60f8
SCOM/USD0xb8Ff…897e8
USD/KES0x6329…ce148
USD/KES0xf2b6…2bB68

6 of 6

Something wrong or missing on this page? Tell us.