Oracle

0391e261signed

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

Answer

1,000,414,603,241,504,373

the spot price of v4 pool 0x2b21…f634 at the median of 5 blocks across the window: 1,000,414,603,241,504,373

1000414603241504373 uint256

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

Work

  1. pinnedblocks 26,098,929 to 26,099,227 to · on Ethereum mainnet
  2. answered143 of 143 agreed140 needed
    #5351,000,414,603,241,504,373
    #4021,000,414,603,241,504,373
    #4461,000,414,603,241,504,373
    #8121,000,414,603,241,504,373
    #1821,000,414,603,241,504,373
    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
    0x4acd93393fa4acecc4cef8ea5f8f315c3b2e66beef27affdb1aab617f4a9c8427adcc0071c33d4cefb004de5b5b5fa13e0075e0839813d797e4ed7396715726e1b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0x7578c100fd43e5802308e24412eae14b3a884b969f52af1992dab76bb1f8536f
    answer type
    uint256
    consumer
    none named; signed for the zero address