Oracle

260613f4signed

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

Answer

502,014.38 ETH

the spot price of v4 pool 0x0db4…8372 at the median of 13 blocks across the window: 502,014.38 ETH

502014388574877179937487 uint256, 18 decimals

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

Work

  1. Pinnedblocks 26,100,125 to 26,100,423 to on Ethereum mainnet
  2. Answered140 of 140 agreed140 needed
    #446502,014.38 ETH
    #1112502,014.38 ETH
    #108502,014.38 ETH
    #1988502,014.38 ETH
    #1275502,014.38 ETH
    135 more
  3. Signedby the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x217316eea07f5be144c2383305efba90a6c123c6472ae7f566493fd835e7a64f4feed98017d69abb115de326fde378ea815f712419e428e4cf669699171483121b
    signed panel
    140 agreed · quorum 140 · 200 seats
    question hash
    0x806e0c11dec5cafa661e7d03818e37d3aadd0809295d1360c355e1234e32aa89
    answer type
    uint256
    consumer
    none named; signed for the zero address