Oracle

8d13ee6csigned

On Base, what was the Uniswap v4 spot price of pool 0x5e916637e7c271972049cf33039e0feba2e8b6ba43b5e163e7720f15b3163deb (ETH/plumber, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 52167548 to 52169347, about 4 hours before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

3,490,056.97 ETH

the spot price of v4 pool 0x5e91…3deb at the median of 13 blocks across the window: 3,490,056.97 ETH

3490056978590182947666540 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x5e916637e7c271972049cf33039e0feba2e8b6ba43b5e163e7720f15b3163deb","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is native ETH (address 0), currency1 is plumber 0xb20000000000000000000029440a9564b59129b1.
invert
true
poolId
0x5e916637e7c271972049cf33039e0feba2e8b6ba43b5e163e7720f15b3163deb
samples
13
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,167,548 to 52,169,347on Base
  2. answered145 of 145 agreed140 needed
    #8423,490,056.97 ETH
    #16373,490,056.97 ETH
    #13423,490,056.97 ETH
    #9383,490,056.97 ETH
    #11203,490,056.97 ETH
    140 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
    0x3a379ee49ab6337f7c0e00d2e969dde7d9a49eb01436818918e53059bd2f1be200d6f2f72a8f7c54a5985cde60c7148aa349270006460747d33a850480eb17bc1c
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0x621da61949913199a2585db051f480ea61f9eacf970a427d66373ef13fadaf23
    answer type
    uint256
    consumer
    none named; signed for the zero address