Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e (ETH/WBTC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26119302 to 26119600, about 5 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
315,727,932,964.29 ETH
the spot price of v4 pool 0x5993…615e at the median of 5 blocks across the window: 315,727,932,964.29 ETH
315727932964297463761438030582 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.
- poolId
- 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,119,302 to 26,119,600 to · on Ethereum mainnet
- answered143 of 143 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
- 0x7447381003ad054777bcf38df78eec8ae8a7567f550d0ee10e0040714a7d7cb4774b4b1b736b59f6a68b5cc723dc29e5c905cd85e9f9c3d834cb75f5bcd254c31b
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x5862f83d7a5ff9d6e08b513fe5533222a4a4654090c43d0b5c337411b57f0d16
- answer type
- uint256
- consumer
- none named; signed for the zero address