Oracle

5cca910csigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657 (USDC/WETH, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 26119003 to 26119301, about 6 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

2,698,154,903

the spot price of v4 pool 0xe500…a657 at the median of 13 blocks across the window: 2,698,154,903

2698154903 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 13.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is WETH 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.
poolId
0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657
samples
13
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #552,698,154,903
    #6522,698,154,903
    #16762,698,154,903
    #19052,698,154,903
    #10172,698,154,903
    135 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
    0x131d69a976b6e1b30996cc8c11f7f1df09204169f73a8dafc83f56e2efb92de223bfd28b6234d76f8c26c89728bc432bd88e9dce2ef2441524bf9698d155648e1b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0xb62292b53e81faff3207b641fcc3593af615722b5171151fc14b8443475b81e0
    answer type
    uint256
    consumer
    none named; signed for the zero address