Oracle

31eb0bd4signed

On Base, what was the Uniswap v4 spot price of pool 0xbedfdb1c91ccfd3269d5aec696c95e96457205ab9cab1ebe6be608e295a3a0a5 (ETH/SPIKE, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 52171148 to 52172947, about 2 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.00000046 ETH

the spot price of v4 pool 0xbedf…a0a5 at the median of 5 blocks across the window: 0.00000046 ETH

461104021444 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xbedfdb1c91ccfd3269d5aec696c95e96457205ab9cab1ebe6be608e295a3a0a5","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 SPIKE 0xb20000000000000000000070f6c1a66d7c1e4d01.
poolId
0xbedfdb1c91ccfd3269d5aec696c95e96457205ab9cab1ebe6be608e295a3a0a5
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,171,148 to 52,172,947on Base
  2. answered148 of 148 agreed140 needed
    #20.00000046 ETH
    #14010.00000046 ETH
    #10200.00000046 ETH
    #12680.00000046 ETH
    #6370.00000046 ETH
    143 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
    0xf37339643ffaee3676acd73115f179030bed2d8aa5bd21540498e5dd932743776c669f4ecdf2ceebb35c440c1ee4e443631a668bda4c48bd1944d31c57bad1bb1c
    signed panel
    148 agreed · quorum 140 · 200 seats
    question hash
    0x90c302142d88fc0d3fbe3d870ca73329d8917d802513287f0c8be9a2cf410ff2
    answer type
    uint256
    consumer
    none named; signed for the zero address