Oracle

843415d9signed

On Base, what was the Uniswap v4 spot price of pool 0xf97db19953c4309b3af2ceb9cce172939e8868321a24656667d44cccb31c9ddc (USDC/cbBTC, currency0/currency1) at the window's last block (blocks 52215026 to 52216825, about 1.5 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?

Answer

852,377,218,428,848.28

the spot price of v4 pool 0xf97d…9ddc at the closing block: 852,377,218,428,848.28

852377218428848287330 uint256, 6 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0xf97db19953c4309b3af2ceb9cce172939e8868321a24656667d44cccb31c9ddc"} — write recipe exactly this.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0xf97db19953c4309b3af2ceb9cce172939e8868321a24656667d44cccb31c9ddc: currency0 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals), currency1 is cbBTC 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf (8 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0xf97db19953c4309b3af2ceb9cce172939e8868321a24656667d44cccb31c9ddc
poolId
0xf97db19953c4309b3af2ceb9cce172939e8868321a24656667d44cccb31c9ddc
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,215,026 to 52,216,825on Base
  2. answered144 of 144 agreed140 needed
    #1464852,377,218,428,848.28
    #1871852,377,218,428,848.28
    #1199852,377,218,428,848.28
    #192852,377,218,428,848.28
    #783852,377,218,428,848.28
    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
    0x983bcc3d439c32a92ffa31c924218560afc195a2a2efb2b0543485b64bda8d802743c0a651d430f1e8731550fad2b477dd319af4af10f368e442c13596b766f21c
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0xce685bd6e4799927aac84658b1dad50d5d3cc020d3ff5d908cf7357755602bf3
    answer type
    uint256
    consumer
    none named; signed for the zero address