Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x0d1d7da6d40397e3be0306e6445e571c24b53d2f42c4fbe1fdf6f2ccb41a9d51 (USDC/SIF, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 26119302 to 26119600, about 5 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?
Answer
4,148,656,776,144,746,397,702,685,203,667,362
the spot price of v4 pool 0x0d1d…9d51 at the median of 13 blocks across the window: 4,148,656,776,144,746,397,702,685,203,667,362
4148656776144746397702685203667362 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x0d1d7da6d40397e3be0306e6445e571c24b53d2f42c4fbe1fdf6f2ccb41a9d51","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is SIF 0xc354c1312e6c5ee0cbc0bd33c2645348ed4ec73c.
- invert
- true
- poolId
- 0x0d1d7da6d40397e3be0306e6445e571c24b53d2f42c4fbe1fdf6f2ccb41a9d51
- samples
- 13
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,119,302 to 26,119,600 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
- 0x10d7a6aca3173b85b94c0519c4159ca4e2a1243c3e92e29d93ccd4da60051ce36afb64e2635d05cc059dcf96a5dc06033158a1f62dcdd02f0f38580fa1f6ed3d1c
- signed panel
- 144 agreed · quorum 140 · 200 seats
- question hash
- 0xbb7df83675bca29ea78e204bfa6748b0df106247ad633a1724b4332d92ea59bd
- answer type
- uint256
- consumer
- none named; signed for the zero address