Oracle

3c9fa112signed

On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x06b3bf476b472ee9892ed93a668fa9ca64b85f2b2521e28fc00fb28612be0ead (USDC/STRK, currency0/currency1) the median over 5 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

55,049

the spot price of v4 pool 0x06b3…0ead at the median of 5 blocks across the window: 55,049

55049 uint256

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

Work

  1. pinnedblocks 26,119,003 to 26,119,301 to · on Ethereum mainnet
  2. answered148 of 148 agreed140 needed
    #184455,049
    #86655,049
    #20955,049
    #130955,049
    #61455,049
    143 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
    0x4961b8c604455655962a4aeee7aea71d2b8f6fe6c4393d0573825b1a751da4f6554fd5bc3ecffc2c691c875698a3b1361308954ea72111d3a4017c03a68e9d1c1c
    signed panel
    148 agreed · quorum 140 · 200 seats
    question hash
    0x5e280ef2db35dfbdaf7be32ade1b09e97c22a68775e6a2305bbe134f74c2293b
    answer type
    uint256
    consumer
    none named; signed for the zero address