Oracle
What was the Uniswap v4 spot price in the USDC/USDT pool 0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47 on Ethereum mainnet at the median of 5 evenly spaced blocks across blocks 26106292–26106590 (about 1 hours ago), as currency0 per 1e18 raw currency1 in raw units?
Answer
999,853,895,671,906,717
the spot price of v4 pool 0x8aa4…4e47 at the median of 5 blocks across the window: 999,853,895,671,906,717
999853895671906717 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs USDC with USDT (0xdac17f958d2ee523a2206206994597c13d831ec7).
- poolId
- 0x8aa4e11cbdf30eedc92100f4c8a31ff748e201d44712cc8c90d189edaa8e4e47
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,106,292 to 26,106,590 to · on Ethereum mainnet
- answered35 of 35 agreed35 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
- 0xff03c823d4e129babe239b26e5f78155e58088b6da3bf2cd72a1470adb866d7d69f4ec4e02b86474880cc8e73028fc04d18bc4c6c2512d0862c8d0104b58d9a51c
- signed panel
- 35 agreed · quorum 35 · 50 seats
- question hash
- 0x03949a5ebd3b41814e9487a8b4898e165bbbc58489bc02195b10c28f099d1ef4
- answer type
- uint256
- consumer
- none named; signed for the zero address