Oracle

84a295basigned

On Base, what was the Uniswap v4 spot price of pool 0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a (ETH/USDC, currency0/currency1) as the median over 13 evenly spaced blocks of the window (blocks 52215026 to 52216825, about 1.5 hours before 52219525), as currency0 per 1e18 raw currency1 in raw units?

Answer

370,549,339.42

the spot price of v4 pool 0x96d4…8c0a at the median of 13 blocks across the window: 370,549,339.42

370549339424030233300253733 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x498581ff718922c3f8e6a244956af099b2652b2b","poolId":"0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a","samples":13} — write recipe exactly this.
pool
PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b; pool 0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a: currency0 is native ETH (address 0) (18 decimals), currency1 is USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (6 decimals).
compute
scan.mjs --v4-spot --pool-manager 0x498581ff718922c3f8e6a244956af099b2652b2b --pool-id 0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a --samples 13
poolId
0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a
samples
13
poolManager
0x498581ff718922c3f8e6a244956af099b2652b2b

Work

  1. pinnedblocks 52,215,026 to 52,216,825on Base
  2. answered143 of 143 agreed140 needed
    #1937370,549,339.42
    #1898370,549,339.42
    #429370,549,339.42
    #1207370,549,339.42
    #617370,549,339.42
    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
    0xb20ae1c927d3a7471070f758d977d1781c4d3f0ebce7f31b850867456d0084602991b3c580b0ad96e0fc4aa873451e844fccf9618a6f70b8eb2f80117c3acd891b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xc82e4e33a9ac6ab84f069034235486465c60d515a7d8e7d4ef8f28f9f99705b2
    answer type
    uint256
    consumer
    none named; signed for the zero address