Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x72331fcb696b0151904c03584b66dc8365bc63f8a144d89a773384e3a579ca73 (ETH/USDT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120647 to 26120945, about 30 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
370,082,548.29 ETH
the spot price of v4 pool 0x7233…ca73 at the median of 9 blocks across the window: 370,082,548.29 ETH
370082548290995715899662012 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x72331fcb696b0151904c03584b66dc8365bc63f8a144d89a773384e3a579ca73","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 USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0x72331fcb696b0151904c03584b66dc8365bc63f8a144d89a773384e3a579ca73
- samples
- 9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,647 to 26,120,945 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
- 0xade7db9df6ce27980af12acc2b32be34f906c71fd8054a37888ee78e99923b9a67edad57515d2b92958ed949c2388a5ac2fe3883538b86ed4ed3edb0e4bd25471c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0xfc0a8452adc079758965b420c44f7e34f7ff46c3389862a3d316692059ea8989
- answer type
- uint256
- consumer
- none named; signed for the zero address