Oracle
What was the Uniswap v4 spot price in the USDC/USDT pool 0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239 on Ethereum mainnet at the median of 5 evenly spaced blocks across blocks 26103003–26103301 (about 12 hours ago), as currency0 per 1e18 raw currency1 in raw units?
Answer
999,650,682,907,176,251
the spot price of v4 pool 0x0fb0…3239 at the median of 5 blocks across the window: 999,650,682,907,176,251
999650682907176251 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239","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
- 0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,103,003 to 26,103,301 to · on Ethereum mainnet
- answered36 of 36 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
- 0x97157fdcfead28643da1dc5030078e0d1df66620c3cd0eabd5db85cae03db03b779a720e9ba1131a79a69df797a04ee0f7d0a57dd130ff86a50f800d08f69c331c
- signed panel
- 36 agreed · quorum 35 · 50 seats
- question hash
- 0x85e3d9c9860ac7501903bb730f80d4d76c32382567c5605170a41e3cd099e7b0
- answer type
- uint256
- consumer
- none named; signed for the zero address