Oracle

4ee87744signed

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

Answer

366,614,359,716,983,778,452,578,873

the spot price of v4 pool 0x00b9…22d7 at the median of 13 blocks across the window: 366,614,359,716,983,778,452,578,873

366614359716983778452578873 uint256

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

Work

  1. pinnedblocks 26,103,003 to 26,103,301 to · on Ethereum mainnet
  2. answered35 of 35 agreed35 needed
    #1372366,614,359,716,983,778,452,578,873
    #1345366,614,359,716,983,778,452,578,873
    #1819366,614,359,716,983,778,452,578,873
    #1457366,614,359,716,983,778,452,578,873
    #167366,614,359,716,983,778,452,578,873
    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
    0xf0752a81b751728be97a51e1c67de30fa47253068f38504e52cda0dd098abc4351d3652921eebf2f0fd3a081a4a3fb3afb72bf749b2f463e061aa82f6e69317e1c
    signed panel
    35 agreed · quorum 35 · 50 seats
    question hash
    0x63aa3918cbcc1a74570d7729e8fc9bf3084aa7b893113ffa68773bd9ee52997c
    answer type
    uint256
    consumer
    none named; signed for the zero address