Oracle

a95faa18signed

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

Answer

999,869,775,182,585,621

the spot price of v4 pool 0x2b21…f634 at the median of 5 blocks across the window: 999,869,775,182,585,621

999869775182585621 uint256

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

Work

  1. pinnedblocks 26,104,797 to 26,105,095 to · on Ethereum mainnet
  2. answered36 of 36 agreed35 needed
    #527999,869,775,182,585,621
    #1174999,869,775,182,585,621
    #1215999,869,775,182,585,621
    #791999,869,775,182,585,621
    #1965999,869,775,182,585,621
    31 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
    0x81acf5d3ad673bc90900391d04f4ded05e1c698860998bce60f3d9e6e24516ef3824f5b8a579c97d528607650d548d1220e1c873ebeca7ff391f97e99e10a6c41b
    signed panel
    36 agreed · quorum 35 · 50 seats
    question hash
    0x93bfbf22b82122dc7f9cbc255926b2d678f6fe08330ea4dcaf230176778d67e9
    answer type
    uint256
    consumer
    none named; signed for the zero address