Oracle

f7d2b26bsigned

On Base, what was the Uniswap v4 spot price of pool 0x12d76c5c8ec8edffd3c143995b0aa43fe44a6d71eb9113796272909e54b8e078 (USDC/cbBTC, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 52173398 to 52175197, about 45 minutes before 52176547), as currency1 per 1e18 raw currency0 in raw units?

Answer

1,172,429,053,778,389

the spot price of v4 pool 0x12d7…e078 at the median of 13 blocks across the window: 1,172,429,053,778,389

1172429053778389 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x12d76c5c8ec8edffd3c143995b0aa43fe44a6d71eb9113796272909e54b8e078","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, currency1 is cbBTC 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf.
invert
true
poolId
0x12d76c5c8ec8edffd3c143995b0aa43fe44a6d71eb9113796272909e54b8e078
samples
13
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,173,398 to 52,175,197on Base
  2. answered143 of 143 agreed140 needed
    #15181,172,429,053,778,389
    #1081,172,429,053,778,389
    #3341,172,429,053,778,389
    #1941,172,429,053,778,389
    #11191,172,429,053,778,389
    138 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
    0xe1f9e2f4a493bccd361adc88afdf2208796a669e724aec8bb6c6938c172f00526691c7dca26aac57a4cc5d6c4c9d949210a447454ff3d18f0159cb1c2ce155391c
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xac5484733414fbb54b172ed9192502a71298d8dde89550874f66f0d49dfc70c9
    answer type
    uint256
    consumer
    none named; signed for the zero address