Oracle
On Robinhood Chain, what was the Uniswap v4 spot price of pool 0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3 (ETH/U, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 83475383 to 83510569, about 3 hours before 83616130), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.00041
the spot price of v4 pool 0xa5d2…b2e3 at the median of 13 blocks across the window: 0.00041
413299334987300 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x8366a39cc670b4001a1121b8f6a443a643e40951","poolId":"0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3","samples":13} — write recipe exactly this.
- pool
- PoolManager 0x8366a39cc670b4001a1121b8f6a443a643e40951; pool 0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3: currency0 is native ETH (address 0) (18 decimals), currency1 is U 0xce24439f2d9c6a2289f741120fe202248b666666 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x8366a39cc670b4001a1121b8f6a443a643e40951 --pool-id 0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3 --samples 13
- poolId
- 0xa5d2fa75a050327b6a0e3a6020994fea5a9df413e0e031045399411e1616b2e3
- samples
- 13
- poolManager
- 0x8366a39cc670b4001a1121b8f6a443a643e40951
Work
- Pinnedblocks 83,475,383 to 83,510,569on Robinhood Chain
- Answered140 of 140 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
- 0x6931e0f62d428f536b1d765090acc3d1d83abe90e3352754ebe31fe16a8a0e9048e80f2e4e17e828c3da9a9b56e2b8de93ec10ae08a32b7f4b709540278e71d51b
- signed panel
- 140 agreed · quorum 140 · 200 seats
- question hash
- 0xe1b8c7fa14ebddf676577b1f468fa2f0ec422005555708fc3eb16e9cf9368ae8
- answer type
- uint256
- consumer
- none named; signed for the zero address