Oracle

6e00e1basigned

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xfd7908646f132efe38734a0da4166b7f1c5ea98958644b67fdf8ad8db9242712 (ETH/SHX, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120573 to 26120871, about 45 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?

Answer

266,991.82 ETH

the spot price of v4 pool 0xfd79…2712 at the median of 9 blocks across the window: 266,991.82 ETH

266991823078303039598681 uint256, 18 decimals

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xfd7908646f132efe38734a0da4166b7f1c5ea98958644b67fdf8ad8db9242712","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is SHX 0x516d31321928700c6b4fb0db0c8c6bc5d6799787.
poolId
0xfd7908646f132efe38734a0da4166b7f1c5ea98958644b67fdf8ad8db9242712
samples
9
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
  2. answered147 of 147 agreed140 needed
    #637266,991.82 ETH
    #1794266,991.82 ETH
    #1676266,991.82 ETH
    #1084266,991.82 ETH
    #1274266,991.82 ETH
    142 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
    0xba9d160211b1b68bd02a673aed592212672882f87014f987f87d23fa507b6b446d14634b692e4f5f36c058025e5a6af12dd92c217a3ba171c354f864349407721c
    signed panel
    147 agreed · quorum 140 · 200 seats
    question hash
    0x9cbae54d176ccc0e087f6c65294d60b9fd929df11b80f210ec9445356358fbb8
    answer type
    uint256
    consumer
    none named; signed for the zero address