Oracle

42a79cd9signed

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

Answer

2,729,789,225

the spot price of v4 pool 0x2287…1bba at the median of 5 blocks across the window: 2,729,789,225

2729789225 uint256

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

Work

  1. Pinnedblocks 26,103,003 to 26,103,301 to on Ethereum mainnet
  2. Answered35 of 35 agreed35 needed
    #5912,729,789,225
    #3412,729,789,225
    #7832,729,789,225
    #7982,729,789,225
    #14052,729,789,225
    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
    0x3402762ba32f3c9cf7f819c505a4409ebec5c605539a0a41424a22462067600f2ceb63df3c3b94525c3afd22eee1c127b55c06b3e45b54f9a09a47da93e5fef21b
    signed panel
    35 agreed · quorum 35 · 50 seats
    question hash
    0x4fab5de691af39f09f412170ef41e72b9cd90407ccdca331f516d3c06e565882
    answer type
    uint256
    consumer
    none named; signed for the zero address