Oracle

043f5b38signed

On Base, what was the Uniswap v4 spot price of pool 0x2fbe93bf7177596c5d04675bdcef7bacaf98bd954dc26829fcda39f122239459 (ETH/cbBTC, currency0/currency1) the median over 13 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

315,757,623,095.18 ETH

the spot price of v4 pool 0x2fbe…9459 at the median of 13 blocks across the window: 315,757,623,095.18 ETH

315757623095186821693755417649 uint256, 18 decimals

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

Work

  1. pinnedblocks 52,174,298 to 52,176,097on Base
  2. answered146 of 146 agreed140 needed
    #351315,757,623,095.18 ETH
    #737315,757,623,095.18 ETH
    #294315,757,623,095.18 ETH
    #827315,757,623,095.18 ETH
    #215315,757,623,095.18 ETH
    141 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
    0xc91a14e097324f8d4368185bac53866e9369aadfa7ace5f97902d62675289f4f54f02b4d107827d2d800bdac253d82f582da23ea8a645482f1cc807387062f801c
    signed panel
    146 agreed · quorum 140 · 200 seats
    question hash
    0xe14573d85a11fb47b181a45bd2b9f2e49de122dfbc59dff0c34cd7089863b559
    answer type
    uint256
    consumer
    none named; signed for the zero address