Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5 (USDC/USDT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120348 to 26120646, about 1.5 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?
Answer
1,000,112,770,854,032,790
the spot price of v4 pool 0x395f…13a5 at the median of 9 blocks across the window: 1,000,112,770,854,032,790
1000112770854032790 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5","invert":true,"samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 9.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- invert
- true
- poolId
- 0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5
- samples
- 9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,348 to 26,120,646 to · on Ethereum mainnet
- answered141 of 141 agreed140 needed
- 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
- 0x74e126e15ac59a3ee0501aef91fa1420417098d654669ff5c3012a2a7a5381081b1de1ad56fec12a91ce9f0549e60d6c5ae81ea815b48267c8a1420ce0975bf71b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x9a869430c477fd37d048a971ea74a849e32f5e93ebec4970516257ef20b21b3d
- answer type
- uint256
- consumer
- none named; signed for the zero address