Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x77b480a635c038223de17d7eb3860bc8c12beb2a2b29dbfc59a3d35fd17e617f (USDC/USDT, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26119601 to 26119899, about 4 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
999,901,824,298,290,984
the spot price of v4 pool 0x77b4…617f at the median of 5 blocks across the window: 999,901,824,298,290,984
999901824298290984 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x77b480a635c038223de17d7eb3860bc8c12beb2a2b29dbfc59a3d35fd17e617f","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0x77b480a635c038223de17d7eb3860bc8c12beb2a2b29dbfc59a3d35fd17e617f
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,119,601 to 26,119,899 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
- 0xc851549a77556dfb1a168576d2b073d570a1afd29a19f783ba23c3a59432ceca15d822fca2a06d01b0f66cb5fafae5f3a8cd54841873116f79476dc25f46568a1c
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x44c8356da51a196a8c7bd0acaea8f1dc4c41a13418fb69dea97b1c9562d1d9fa
- answer type
- uint256
- consumer
- none named; signed for the zero address