Oracle

355a9313signed

What was the Uniswap v4 spot price in the USDC/USDT pool 0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5 on Ethereum mainnet at the median of 5 evenly spaced blocks across blocks 26103003–26103301 (about 12 hours ago), as currency0 per 1e18 raw currency1 in raw units?

Answer

999,655,362,771,330,516

the spot price of v4 pool 0x395f…13a5 at the median of 5 blocks across the window: 999,655,362,771,330,516

999655362771330516 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs USDC with USDT (0xdac17f958d2ee523a2206206994597c13d831ec7).
poolId
0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,103,003 to 26,103,301 to · on Ethereum mainnet
  2. answered35 of 35 agreed35 needed
    #1376999,655,362,771,330,516
    #978999,655,362,771,330,516
    #77999,655,362,771,330,516
    #1372999,655,362,771,330,516
    #398999,655,362,771,330,516
    30 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
    0x65a32ed6ebd5cff9df2d379241ed0301c0e47d0e1434795b19a38831c1386ce51de74c97cebd5e219910732925fff81ea290831eced3de7d5ba304689dbad5fe1c
    signed panel
    35 agreed · quorum 35 · 50 seats
    question hash
    0x0b5dd9e64c592365f8d0c753473f8f961eccfe153d19d55db4efbaa6f60f5277
    answer type
    uint256
    consumer
    none named; signed for the zero address