Oracle

eef30696signed

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

Answer

313,618,174,911.55 ETH

the spot price of v4 pool 0x5993…615e at the median of 5 blocks across the window: 313,618,174,911.55 ETH

313618174911552762458444643431 uint256, 18 decimals

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

Work

  1. pinnedblocks 26,099,826 to 26,100,124 to · on Ethereum mainnet
  2. answered142 of 142 agreed140 needed
    #1837313,618,174,911.55 ETH
    #849313,618,174,911.55 ETH
    #1193313,618,174,911.55 ETH
    #526313,618,174,911.55 ETH
    #1356313,618,174,911.55 ETH
    137 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
    0x4acf2f685478e008d719a230840c2bd7871616dd77c47e33b0b92f8d6ba07ace027f44b06f93c4c51c1188e07fe2005da45363bf9e4538eea5c250231c26f9161b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0xbc992a6bc4e5dd1d6846ffc61c8f83e3a2d02ed09b29def9a6b922d9d36411ff
    answer type
    uint256
    consumer
    none named; signed for the zero address