Oracle

2373d590signed

What was the Uniswap v4 spot price in the ETH/WBTC pool 0x599326d9cd5e1ea0893305c87d5ec3199e7f05e94d72159f35dea381479a615e on Ethereum mainnet at the median of 13 evenly spaced blocks across blocks 26106516–26106814 (about 15 minutes ago), as currency0 per 1e18 raw currency1 in raw units?

Answer

315,529,620,699,036,877,093,477,950,165

the spot price of v4 pool 0x5993…615e at the median of 13 blocks across the window: 315,529,620,699,036,877,093,477,950,165

315529620699036877093477950165 uint256

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

Work

  1. Pinnedblocks 26,106,516 to 26,106,814 to on Ethereum mainnet
  2. Answered36 of 36 agreed35 needed
    #781315,529,620,699,036,877,093,477,950,165
    #846315,529,620,699,036,877,093,477,950,165
    #1042315,529,620,699,036,877,093,477,950,165
    #1830315,529,620,699,036,877,093,477,950,165
    #635315,529,620,699,036,877,093,477,950,165
    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
    0xe0808b669d32261b9beed3a450fd1a23e514173d09b2962397534ae3b56b4155721bade55057a3fad911650a2a96e189e9a3da8c0f5182b83c84f9412264d4891b
    signed panel
    36 agreed · quorum 35 · 50 seats
    question hash
    0x2b59f0e7880291bf885c7d959c4a9a8ab6145351229e29ff7d1e0a02028e6fb1
    answer type
    uint256
    consumer
    none named; signed for the zero address