Oracle

c1eddcc0signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xb2b92b56988a4edbe255989792c6ea239b25eaf66b42093145cbf8f630db3a17 the median over 13 evenly spaced blocks of the window (blocks 26100424 to 26100722, about 1 hour before 26101021), as currency1 per 1e18 raw currency0 in raw units?

Answer

1,124,079,155,814,956,283

the spot price of v4 pool 0xb2b9…3a17 at the median of 13 blocks across the window: 1,124,079,155,814,956,283

1124079155814956283 uint256

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

Work

  1. pinnedblocks 26,100,424 to 26,100,722 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #18931,124,079,155,814,956,283
    #3861,124,079,155,814,956,283
    #551,124,079,155,814,956,283
    #4701,124,079,155,814,956,283
    #16621,124,079,155,814,956,283
    135 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
    0x947698acc142fd693a22ce000653b6c93bc4f782500ed86ecb1db5411f5c21845a91da8c890d1b4b1aa2152644b6d2f9b7b46553a1cc2f110cf5f32f14a374171b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x6189e02a69cddf1ece328a1dca3550c92609f2e4a0f5fdf6540ffa5b276303fa
    answer type
    uint256
    consumer
    none named; signed for the zero address