Oracle

f285b28esigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x3d8a4e3c8985f514808a901424724c9bc03b7a5b5ac3ca8b679d4681690d1e7f (ETH/WBTC, 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

315,554,639,897.87 ETH

the spot price of v4 pool 0x3d8a…1e7f at the median of 9 blocks across the window: 315,554,639,897.87 ETH

315554639897872168734249350698 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x3d8a4e3c8985f514808a901424724c9bc03b7a5b5ac3ca8b679d4681690d1e7f","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 WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.
poolId
0x3d8a4e3c8985f514808a901424724c9bc03b7a5b5ac3ca8b679d4681690d1e7f
samples
9
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered144 of 144 agreed140 needed
    #1558315,554,639,897.87 ETH
    #15315,554,639,897.87 ETH
    #718315,554,639,897.87 ETH
    #1759315,554,639,897.87 ETH
    #1846315,554,639,897.87 ETH
    139 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
    0x55b14e52f9320cface81fbb2acd12cac7144106aa44fdbdeab0b5177c3e30c8f55d1f56a0bb97f76dbdea128b5b2ad222322496fa8020ddb9e4582ed1a86d09d1b
    signed panel
    144 agreed · quorum 140 · 200 seats
    question hash
    0x81a3ae772e3623b6e1cbbdc3ef8618bbf9883a84b10b98a0715a0137ae642135
    answer type
    uint256
    consumer
    none named; signed for the zero address