Oracle

8f02b264signed

On Base, what was the Uniswap v4 spot price of pool 0x508539372ea5da71498935e71a5f7759724fe6e5348053f5464274f49b8d2008 (ETH/TOSHI, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 52169348 to 52171147, about 3 hours before 52176547), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.0000000043 ETH

the spot price of v4 pool 0x5085…2008 at the median of 9 blocks across the window: 0.0000000043 ETH

4329570429 uint256, 18 decimals

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

Work

  1. pinnedblocks 52,169,348 to 52,171,147on Base
  2. answered143 of 143 agreed140 needed
    #4100.0000000043 ETH
    #190.0000000043 ETH
    #15780.0000000043 ETH
    #9690.0000000043 ETH
    #60.0000000043 ETH
    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
    0x4f76b21588505bc8d3a4e88164e7246fb62baf299b00285ac1f9947358aa50a17b1fec885d8d98b3669dc2abbd71161ae41b68cf7198f521fa53687a930489291b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xac119b473c2c2180878fe974dc28cd9d43b2e7b7f99e5912107bd48fad4b266e
    answer type
    uint256
    consumer
    none named; signed for the zero address