Oracle

a3201666signed

On Base, what was the Uniswap v4 spot price of pool 0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a (ETH/USDC, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52174298 to 52176097, about 15 minutes before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

370,100,375.54 ETH

the spot price of v4 pool 0x96d4…8c0a at the median of 5 blocks across the window: 370,100,375.54 ETH

370100375544111606262875012 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is native ETH (address 0), currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.
poolId
0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,174,298 to 52,176,097on Base
  2. answered144 of 144 agreed140 needed
    #1251370,100,375.54 ETH
    #61370,100,375.54 ETH
    #51370,100,375.54 ETH
    #174370,100,375.54 ETH
    #912370,100,375.54 ETH
    139 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
    0x94d2832724d7ebcf6da613d53d5fa87436c2e4269ac8cb4211620d8afd4c7866749e51eb0f568bd0087b6c351cb1b81370fed935a606a7eddda9732a833677b41b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x5dcca9a7a664736fcf8d48f65b3bf45d79d484422a79956d6f2a7e920970bd26
    answer type
    uint256
    consumer
    none named; signed for the zero address