Oracle

d47bf271signed

What was the Uniswap v4 spot price in the ETH/WBTC pool 0x3d8a4e3c8985f514808a901424724c9bc03b7a5b5ac3ca8b679d4681690d1e7f 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

314,867,978,226,737,103,952,377,092,783

the spot price of v4 pool 0x3d8a…1e7f at the median of 5 blocks across the window: 314,867,978,226,737,103,952,377,092,783

314867978226737103952377092783 uint256

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

Work

  1. Pinnedblocks 26,104,797 to 26,105,095 to on Ethereum mainnet
  2. Answered36 of 36 agreed35 needed
    #402314,867,978,226,737,103,952,377,092,783
    #946314,867,978,226,737,103,952,377,092,783
    #180314,867,978,226,737,103,952,377,092,783
    #280314,867,978,226,737,103,952,377,092,783
    #880314,867,978,226,737,103,952,377,092,783
    31 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
    0xd2bddd521d996c6e5b32fd95a55dae3112f830e15a46cc5d38d458808c51b1a17d56ecf722e8f59c567b2134fcced3e57c5dca2317690b3c2d7f4cfd207bd3301b
    signed panel
    36 agreed · quorum 35 · 50 seats
    question hash
    0x5ea205a635112ebd5dbd8ed1b16e521290cfb43f0a3f43b9279fdc818ecf07d5
    answer type
    uint256
    consumer
    none named; signed for the zero address