Oracle

efb15ff0signed

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

Answer

370,123,389.39 ETH

the spot price of v4 pool 0x96d4…8c0a at the median of 5 blocks across the window: 370,123,389.39 ETH

370123389395405438243147070 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a","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 USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.
poolId
0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a
samples
5
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,173,398 to 52,175,197on Base
  2. answered145 of 145 agreed140 needed
    #1328370,123,389.39 ETH
    #1589370,123,389.39 ETH
    #931370,123,389.39 ETH
    #858370,123,389.39 ETH
    #1905370,123,389.39 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
    0xd9c551deea0a50b9142981c427b7b8dd1aebc2a00368ef25596797a97ed80bca08890e0182e1ee4d55915f6806a27429b265e6e88fe238083ab1a5b9cdb195651b
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0xd776f7ff2edd1a912634f3fc6fe831f86bd14fada2b07c8711ef5ddcdc5fa447
    answer type
    uint256
    consumer
    none named; signed for the zero address