Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x90078845bceb849b171873cfbc92db8540e9c803ff57d9d21b1215ec158e79b3 (WETH/USDT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120498 to 26120796, about 1 hour before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
370,133,972,793,346,389,526,329,955
the spot price of v4 pool 0x9007…79b3 at the median of 9 blocks across the window: 370,133,972,793,346,389,526,329,955
370133972793346389526329955 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x90078845bceb849b171873cfbc92db8540e9c803ff57d9d21b1215ec158e79b3","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is WETH 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0x90078845bceb849b171873cfbc92db8540e9c803ff57d9d21b1215ec158e79b3
- samples
- 9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,498 to 26,120,796 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
- 0x51b67351542fd8a2084797105e23b72730a2ca680097e765df5811a8e8f98d303fb7d10e0b125a6c43f9346ebe7fbf62b1914f99073d25e591edea3c8c4671ae1b
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0xee8dca110077d78e0d69e0b59ded1c57c6efcbb856b07ce31b56b9bf0728b22b
- answer type
- uint256
- consumer
- none named; signed for the zero address