Oracle

8cc64ce0signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x02a13b057643e001f9436fa86e3c28945b6c4475a34e068df5c6ab4d42ff93bf (ETH/AGL, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26119003 to 26119301, about 6 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

0.0000027 ETH

the spot price of v4 pool 0x02a1…93bf at the median of 9 blocks across the window: 0.0000027 ETH

2702624619463 uint256, 18 decimals

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

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered141 of 141 agreed140 needed
    #19260.0000027 ETH
    #11360.0000027 ETH
    #17940.0000027 ETH
    #4430.0000027 ETH
    #17230.0000027 ETH
    136 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
    0xbeae631d6fc3a0b2af89c38e247fdcbb618d30774e5a38350132c765d011811a54069d988210beaa68cee97208edbf581043c33f0be078b355bbc3f6b52a560f1b
    signed panel
    141 agreed · quorum 140 · 200 seats
    question hash
    0x582f29ed503ac54850e25bff55faf8c4b498d6b64a7789b6b8f564973896cb50
    answer type
    uint256
    consumer
    none named; signed for the zero address