Oracle

3a18ceaasigned

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

Answer

375,097,328,507,372,040,321,717,496

the spot price of v4 pool 0xe500…a657 at the median of 13 blocks across the window: 375,097,328,507,372,040,321,717,496

375097328507372040321717496 uint256

recipe
{"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657","invert":true,"samples":13} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 13.
pool
PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs USDC with WETH (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2).
invert
true
poolId
0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657
samples
13
poolManager
0x000000000004444c5dc75cb358380d2e3de08a90

Work

  1. pinnedblocks 26,106,516 to 26,106,814 to · on Ethereum mainnet
  2. answered35 of 35 agreed35 needed
    #1219375,097,328,507,372,040,321,717,496
    #1580375,097,328,507,372,040,321,717,496
    #737375,097,328,507,372,040,321,717,496
    #1129375,097,328,507,372,040,321,717,496
    #1781375,097,328,507,372,040,321,717,496
    30 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
    0xcd96f82b0edbe24c0a66d6d6f1ebe5d905bbecb650f7900987f77d277cfc4eaf79a6356d8fde39b19cf09b1dd9a78e337549e96a1ba95db9a1074c5ba3b180e41c
    signed panel
    35 agreed · quorum 35 · 50 seats
    question hash
    0xb41b337ef2b5c40806b82280b4518087928e00e115d7a5e4aa5bc24a1c8f3813
    answer type
    uint256
    consumer
    none named; signed for the zero address