Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47 (USDC/USDT, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 26120722 to 26121020, about 15 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
999,875,197,122,570,876
the spot price of v4 pool 0x8aa4…4e47 at the median of 13 blocks across the window: 999,875,197,122,570,876
999875197122570876 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 13.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47
- samples
- 13
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,722 to 26,121,020 to · on Ethereum mainnet
- answered142 of 142 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
- 0x9a0d5c624d793497a68ff19f79fe78f2f0265a3a65ee1cfca113d8137eb2937443839a822973a22f6454e91372d2d167f688598e31cb26d726cc6c4f03f8b6131b
- signed panel
- 142 agreed · quorum 140 · 200 seats
- question hash
- 0xe901b38164d033bf4dc83f5c05c6addab3e4210e9e73ba918ca9eb4bf9293ee0
- answer type
- uint256
- consumer
- none named; signed for the zero address