Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2 (WBTC/USDT, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26119601 to 26119899, about 4 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
1,173,945,102,892,939
the spot price of v4 pool 0x4a24…c0d2 at the median of 5 blocks across the window: 1,173,945,102,892,939
1173945102892939 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,119,601 to 26,119,899 to · on Ethereum mainnet
- answered147 of 147 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
- 0x87c7ac42d19ffc72eda71ef67dcabac25abc13509c3075c65265669ff0cf09ff217af24958df8a33694eb2025db1f398542d2d8df6f4d2a95fef8e0f2fae93c51b
- signed panel
- 147 agreed · quorum 140 · 200 seats
- question hash
- 0xe9dc5a5d5c43c23c0b26cfeb35a349d53d348137b0d25d0f04eec2960a664f9f
- answer type
- uint256
- consumer
- none named; signed for the zero address