Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x00b9edc1583bf6ef09ff3a09f6c23ecb57fd7d0bb75625717ec81eed181e22d7 (ETH/USDC, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120348 to 26120646, about 1.5 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
370,017,942.8 ETH
the spot price of v4 pool 0x00b9…22d7 at the median of 9 blocks across the window: 370,017,942.8 ETH
370017942807712925554947781 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x00b9edc1583bf6ef09ff3a09f6c23ecb57fd7d0bb75625717ec81eed181e22d7","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
- poolId
- 0x00b9edc1583bf6ef09ff3a09f6c23ecb57fd7d0bb75625717ec81eed181e22d7
- samples
- 9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,348 to 26,120,646 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
- 0xf23d4e28cd1880e5caf7f4ce5d5e2f46203f8820f05d4e2e6ec2d75c578b0af0413841ec6ebfd4bf67caa230088e68f2fd262379fb83893a0ac73c678daf1e6e1c
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0xd3749790ccce11a94cb75c1741fedd5708bd4eec3534afc337ae52c26df08773
- answer type
- uint256
- consumer
- none named; signed for the zero address