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 26120498 to 26120796, about 1 hour before 26121095), as currency1 per 1e18 raw currency0 in raw units?
Answer
853,326,784,887,889,490,888
the spot price of v4 pool 0x4a24…c0d2 at the median of 5 blocks across the window: 853,326,784,887,889,490,888
853326784887889490888 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2","invert":true,"samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- invert
- true
- poolId
- 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,498 to 26,120,796 to · on Ethereum mainnet
- answered144 of 144 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
- 0x5a4879e913b06a4c7629198f1a954283a86a0cf89de71ecb0393323a95cabe0c66d32ddbd666b14a711f45acc77b1b5fb823ce1394a864f4cb67c32816f5b70b1b
- signed panel
- 144 agreed · quorum 140 · 200 seats
- question hash
- 0x67e5f0e76d074831ea671954a1a9443c2dc46a07025f921edaa39483de74fb4e
- answer type
- uint256
- consumer
- none named; signed for the zero address