Oracle

ff9f40dasigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x37e773f2212f989d4892060a5dfcd84147d2b39b2afcccf8355065f041f7804b the median over 5 evenly spaced blocks of the window (blocks 26099527 to 26099825, about 4 hours before 26101021), as currency0 per 1e18 raw currency1 in raw units?

Answer

1,056,945,354,715,420,564,459,464,149,572,381

the spot price of v4 pool 0x37e7…804b at the median of 5 blocks across the window: 1,056,945,354,715,420,564,459,464,149,572,381

1056945354715420564459464149572381 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x37e773f2212f989d4892060a5dfcd84147d2b39b2afcccf8355065f041f7804b","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs USDC with 0x18162f5cf35647be0910f30b4466be39295e4878.
poolId
0x37e773f2212f989d4892060a5dfcd84147d2b39b2afcccf8355065f041f7804b
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,099,527 to 26,099,825 to · on Ethereum mainnet
  2. answered147 of 147 agreed140 needed
    #11681,056,945,354,715,420,564,459,464,149,572,381
    #15071,056,945,354,715,420,564,459,464,149,572,381
    #14011,056,945,354,715,420,564,459,464,149,572,381
    #14051,056,945,354,715,420,564,459,464,149,572,381
    #1831,056,945,354,715,420,564,459,464,149,572,381
    142 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
    0xdf4142d5976af985d94c7096d5536757abe0880a377762b9a078bf261196c7e509644e07e8012adc28851abab17894412075d4cb8ff89f90dfb01aba9f8cbb791b
    signed panel
    147 agreed · quorum 140 · 200 seats
    question hash
    0xb9e9f6149c776824dedd35ca066d30b7f52cd2f5ad44f8acd982d8b8941c440e
    answer type
    uint256
    consumer
    none named; signed for the zero address