Oracle

41e952aasigned

What was the Uniswap v4 spot price in the ETH/USDC pool 0x21c67e77068de97969ba93d4aab21826d33ca12bb9f565d8496e8fda8a82ca27 on Ethereum mainnet at the median of 13 evenly spaced blocks across blocks 26106292–26106590 (about 1 hours ago), as currency0 per 1e18 raw currency1 in raw units?

Answer

373,301,686,669,071,466,629,924,249

the spot price of v4 pool 0x21c6…ca27 at the median of 13 blocks across the window: 373,301,686,669,071,466,629,924,249

373301686669071466629924249 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x21c67e77068de97969ba93d4aab21826d33ca12bb9f565d8496e8fda8a82ca27","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 13.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs ETH with USDC (0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48).
poolId
0x21c67e77068de97969ba93d4aab21826d33ca12bb9f565d8496e8fda8a82ca27
samples
13
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,106,292 to 26,106,590 to · on Ethereum mainnet
  2. answered35 of 35 agreed35 needed
    #378373,301,686,669,071,466,629,924,249
    #592373,301,686,669,071,466,629,924,249
    #121373,301,686,669,071,466,629,924,249
    #1844373,301,686,669,071,466,629,924,249
    #200373,301,686,669,071,466,629,924,249
    30 more
  3. 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
    0x783be2c68a1df4fca018f048aa4299b9b4cd412fcef1d3e2b3c21dc1bcf3d136782d75ccd5eeee3359c2e2383d4455734e4d442e3dd119ae747f7d5122bb37891b
    signed panel
    35 agreed · quorum 35 · 50 seats
    question hash
    0x4ad3515bcda2742b127a4317ba79af9788d131fb33a25eac885f3fb9b88d341a
    answer type
    uint256
    consumer
    none named; signed for the zero address