Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xe85f633a1374ee279140fa997b547d6a2ccd94fc5eae0e98f7d15ce0e3ddfa93 (ETH/AI, currency0/currency1) as the median over 9 evenly spaced blocks of the window (blocks 80855084 to 80890485, about 4 hours before 81032093), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.000045
the spot price of v4 pool 0xe85f…fa93 at the median of 9 blocks across the window: 0.000045
45417486653987 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xe85f633a1374ee279140fa997b547d6a2ccd94fc5eae0e98f7d15ce0e3ddfa93","samples":9} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xe85f633a1374ee279140fa997b547d6a2ccd94fc5eae0e98f7d15ce0e3ddfa93: currency0 is native ETH (address 0) (18 decimals), currency1 is AI 0x2e8c31162b855a2ffa90f6f8634643ad6f111e18 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xe85f633a1374ee279140fa997b547d6a2ccd94fc5eae0e98f7d15ce0e3ddfa93 --samples 9
- poolId
- 0xe85f633a1374ee279140fa997b547d6a2ccd94fc5eae0e98f7d15ce0e3ddfa93
- samples
- 9
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- pinnedblocks 80,855,084 to 80,890,485on Robinhood Chain
- answered142 of 142 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstusable until
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0x82886bb982ecdfb9436580b36b4fd9ed44a9fe979e436f4ae229b7c797cfd5295ab7faac197c1f84e2f132112ffa53674edb27a48dd4608985839b305f8586b51b
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0x8c658c69aa90e1f6f248923884e934cc01032a37717f12cc7d896dcb136be005
- answer type
- uint256
- consumer
- none named; signed for the zero address