Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239 (USDC/USDT, currency0/currency1) the median over 9 evenly spaced blocks of the window (blocks 26120573 to 26120871, about 45 minutes before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
999,886,410,620,047,215
the spot price of v4 pool 0x0fb0…3239 at the median of 9 blocks across the window: 999,886,410,620,047,215
999886410620047215 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239
- samples
- 9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,573 to 26,120,871 to · on Ethereum mainnet
- answered143 of 143 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
- 0xe84a60458ab107e7e7a396b171c883ddde5eca9d7a6268e784ccf0bdd7d6f64452cee3a72211cd4ca49502ad42c80b3d6c75eea0d8afc6cb67b4262822169b061c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x2027d297462c086fee2269716db8bac063c6e4d7165009b48ea2d2807634a9c5
- answer type
- uint256
- consumer
- none named; signed for the zero address