Oracle

6053dc04signed

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

Answer

1,250,948

the spot price of v4 pool 0xb203…448b at the median of 9 blocks across the window: 1,250,948

1250948 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xb20351bcf606dcc3525d2ed36760a86a5dec7423b77d41125bd4a416ba93448b","invert":true,"samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 9.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is sUSDe 0x9d39a5de30e57443bff2a8307a4256c8797a3497, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
invert
true
poolId
0xb20351bcf606dcc3525d2ed36760a86a5dec7423b77d41125bd4a416ba93448b
samples
9
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
  2. answered145 of 145 agreed140 needed
    #10001,250,948
    #3551,250,948
    #11881,250,948
    #4691,250,948
    #1031,250,948
    140 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
    0xe66a3468a6b1dfd592addf907d06597f9e0221936a6053e4a42b9948d9a0912d4a14cb612e45c4764c4ce42986cbc726a66da71971b7a33c56b014935338f1521b
    signed panel
    145 agreed · quorum 140 · 200 seats
    question hash
    0xa7bf067bd63034c94a6cdbd9aa5a4190075d29748129598ad6b0117c9ac786db
    answer type
    uint256
    consumer
    none named; signed for the zero address