Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0x423550b852697fb4b81d67b68281e7370a155ae9ede237bda46bba3d41be31fb (ETH/AI, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 83563350 to 83598536, about 30 minutes before 83616130), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.000037
the spot price of v4 pool 0x4235…31fb at the median of 5 blocks across the window: 0.000037
37124749823628 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0x423550b852697fb4b81d67b68281e7370a155ae9ede237bda46bba3d41be31fb","samples":5} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0x423550b852697fb4b81d67b68281e7370a155ae9ede237bda46bba3d41be31fb: currency0 is native ETH (address 0) (18 decimals), currency1 is AI 0x2e8c31162b855a2ffa90f6f8634643ad6f111e18 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0x423550b852697fb4b81d67b68281e7370a155ae9ede237bda46bba3d41be31fb --samples 5
- poolId
- 0x423550b852697fb4b81d67b68281e7370a155ae9ede237bda46bba3d41be31fb
- samples
- 5
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- Pinnedblocks 83,563,350 to 83,598,536on Robinhood Chain
- Answered142 of 142 agreed140 needed
Signedby 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
- 0x8833238e94e5a5ff2afd339e97a6eaff009938f2273d23cb7ec5874031686acd6c832e44121cabc08ed3e732e65a25c82437b1e0c158f9f9b6d7e1efdc6c6b121b
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0xb0d0c04fcd91d93b3ab427ff4ec8c4bae098ebec2beadbb7ef29f459b42db4c2
- answer type
- uint256
- consumer
- none named; signed for the zero address