Oracle

5781e9aasigned

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

Answer

990,675

the spot price of v4 pool 0x0a9d…8bba at the median of 13 blocks across the window: 990,675

990675 uint256

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

Work

  1. pinnedblocks 26,119,601 to 26,119,899 to · on Ethereum mainnet
  2. answered143 of 143 agreed140 needed
    #52990,675
    #658990,675
    #776990,675
    #366990,675
    #297990,675
    138 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
    0x150e7fc206362f3aba743c855a39ac076c306a412ff86b1f469eb83f03260916395c1192d1185c87ad19e9c5a56762f224076bdf18098d9c7de2266248ea88811b
    signed panel
    143 agreed · quorum 140 · 200 seats
    question hash
    0xea6fee1466c06b832e198e25122430ec3168741a1fa626f8e6a3f2e5c38df9ee
    answer type
    uint256
    consumer
    none named; signed for the zero address