Oracle

654aa7e2signed

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 26120199 to 26120497, about 2 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

315,647,212,426.89 ETH

the spot price of v4 pool 0x3d8a…1e7f at the median of 9 blocks across the window: 315,647,212,426.89 ETH

315647212426891504023056214814 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,120,199 to 26,120,497 to · on Ethereum mainnet
  2. answered142 of 142 agreed140 needed
    #921315,647,212,426.89 ETH
    #683315,647,212,426.89 ETH
    #1219315,647,212,426.89 ETH
    #1830315,647,212,426.89 ETH
    #1974315,647,212,426.89 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
    0x5a6a7e262cb0adbe0a6c1bb7ad2673fce836de748174efad2b7ff908a1b0be1d7e9aff876719d9b8016356bcb9f425b1461b22af97320aaf0c4db71cb2d003411b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x295cd63a3fc48749aedf5567191ae8f9d2286359b8cc15fa76f7637901148c81
    answer type
    uint256
    consumer
    none named; signed for the zero address