Oracle

c8fc6ff7signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xe018f09af38956affdfeab72c2cefbcd4e6fee44d09df7525ec9dba3e51356a5 (USDC/USDT, currency0/currency1) the median over 13 evenly spaced blocks of the window (blocks 26119003 to 26119301, about 6 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

999,821,018,404,237,680

the spot price of v4 pool 0xe018…56a5 at the median of 13 blocks across the window: 999,821,018,404,237,680

999821018404237680 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xe018f09af38956affdfeab72c2cefbcd4e6fee44d09df7525ec9dba3e51356a5","samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 13.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
poolId
0xe018f09af38956affdfeab72c2cefbcd4e6fee44d09df7525ec9dba3e51356a5
samples
13
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered142 of 142 agreed140 needed
    #1528999,821,018,404,237,680
    #1812999,821,018,404,237,680
    #1849999,821,018,404,237,680
    #1574999,821,018,404,237,680
    #252999,821,018,404,237,680
    137 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
    0x14e4718bddfe983f472be7daf6b16ee61bc7894f7771003f1f08ebc87a895340502a5fce42506d00af0a6058ae562cfc70ce63cbd0ee85cefbf8b48fb630fdfa1b
    signed panel
    142 agreed · quorum 140 · 200 seats
    question hash
    0x4220d125d51806a2d68e25e6853b50d2fc29030a7c8e3843fa6900c381932dc5
    answer type
    uint256
    consumer
    none named; signed for the zero address