Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x00b9edc1583bf6ef09ff3a09f6c23ecb57fd7d0bb75625717ec81eed181e22d7 the median over 5 evenly spaced blocks of the window (blocks 26100424 to 26100722, about 1 hour before 26101021), as currency0 per 1e18 raw currency1 in raw units?
Answer
370,323,757.51 ETH
the spot price of v4 pool 0x00b9…22d7 at the median of 5 blocks across the window: 370,323,757.51 ETH
370323757513147372185510768 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x00b9edc1583bf6ef09ff3a09f6c23ecb57fd7d0bb75625717ec81eed181e22d7","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs native ETH with 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
- poolId
- 0x00b9edc1583bf6ef09ff3a09f6c23ecb57fd7d0bb75625717ec81eed181e22d7
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,100,424 to 26,100,722 to · on Ethereum mainnet
- answered142 of 142 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstexpired
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xb639f1beeeaa76d6e1991712a2ccce55f913afffd82facb2c9bc6b668591a05e721af30f836da7dd77c9f354c484c41c363354017e7ced199715264ad237793d1b
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0xef97e36fce99ae321a841e7c4b5d0594b63bc1d2eec7794c772962425e167249
- answer type
- uint256
- consumer
- none named; signed for the zero address