Oracle

c79b424asigned

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

Answer

999,851,165,493,583,446

the spot price of v4 pool 0x0fb0…3239 at the median of 5 blocks across the window: 999,851,165,493,583,446

999851165493583446 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239","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
0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239
samples
5
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. Pinnedblocks 26,106,292 to 26,106,590 to on Ethereum mainnet
  2. Answered35 of 35 agreed35 needed
    #1207999,851,165,493,583,446
    #59999,851,165,493,583,446
    #174999,851,165,493,583,446
    #1295999,851,165,493,583,446
    #1631999,851,165,493,583,446
    30 more
  3. Signedby the attester 0x5598…2982reproduced firstexpired

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x7957fe04b8b2096cbe8bfe2bfcd31d2fd9ec9805cac4eeb5b312e8d9d4029ba2309e46df57c21e683caef5acf66d167345862443131e78d1d211557dbbd7d56c1b
    signed panel
    35 agreed · quorum 35 · 50 seats
    question hash
    0x02941ce7613be99a0becf80546280c02beabed3426990b611af9a8086d29dec6
    answer type
    uint256
    consumer
    none named; signed for the zero address