AfterHours Robinhood Chain mainnet · chain 4663

A stock price that keeps answering when the exchange is closed.

AfterHours passes Chainlink's price through while the market is open. When the feed goes quiet, it answers with the Robinhood Chain pool's price, held within 1% of the last print during the US regular session, when a quiet feed means a quiet market, and within 10% overnight and at weekends. It refuses when the pool is too thin to trust. Every price, age and pool figure on this page is read from Robinhood Chain by your browser.

AAPL at the latest block

Chainlink AAPL / USD feed

 

last print … ago

 

AfterHours rules run in your browser

 

Reading Robinhood Chain…

 

The band: within 1% of the last Chainlink print during the US regular session, within 10% at every other hour.
Pool read
…
Pool price, median of three 10-minute averages, per token
…
Pool liquidity, median of three 10-minute windows
…
Read at block
…

Blockscout on this chain has no Stylus verifier; the build is checked against the deployment with cargo stylus verify in run 36297607270.

Show the raw calls behind these numbers
No calls yet.

Seven days of Chainlink prints

Each tick is one AAPL/USD price update, read from the feed with getRoundData. The chain above it never closes. The empty stretches below are the hours when nothing on-chain says what the stock is worth.

Reading the feed's history…

Every stock AfterHours can price today

The stocks whose main pool meets the bar for depth and observation history. Each row is read at the same block as the panel above and run through the contract's rules in your browser; only AAPL is a deployed instance.

Stock Chainlink Last print Pool price, per token Pool vs print AfterHours rules now
Reading the feeds and pools from Robinhood Chain…

Why it exists

Measured on Robinhood Chain mainnet with the read-only scripts in the repository.

Use it

One contract per stock, with the Chainlink feed's interface and Morpho Blue's. A contract that reads the feed swaps one address; a Morpho market, which cannot change its oracle, is opened with AfterHours as the oracle.

A Morpho Blue market

AfterHours is the market's oracle. price() is Morpho's own interface; USDG stays the loan token.

MarketParams({
  loanToken:       USDG,
  collateralToken: AAPL,
  oracle:          afterHoursAAPL,
  irm:             AdaptiveCurveIrm,
  lltv:            0.625e18
});

Any Chainlink consumer

Swap the feed address. Round ids, decimals and description are the feed's; a refusal reverts instead of returning a stale price.

(, int256 answer,, uint256 updatedAt,) =
  AggregatorV3Interface(afterHoursAAPL)
    .latestRoundData();
// fresh in LIVE_FEED and ONCHAIN_TWAP;
// reverts IssuerPaused / NoData(reason)