Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb the median over 5 evenly spaced blocks of the window (blocks 26099527 to 26099825, about 4 hours before 26101021), as currency0 per 1e18 raw currency1 in raw units?
Answer
1,000,224,108,445,054,809
the spot price of v4 pool 0xeda6…7edb at the median of 5 blocks across the window: 1,000,224,108,445,054,809
1000224108445054809 uint256
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs USDC with 0xe343167631d89b6ffc58b88d6b7fb0228795491d.
- poolId
- 0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,099,527 to 26,099,825 to · on Ethereum mainnet
- answered148 of 148 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
- 0x954090db7ed6c9334095323983d0c860ae90411d4f3cc9bfe8ae31a445657e7d3e9829b1d17630c8f2123df29244796c7e23076cf51f5ec68ab961aa608ef9c11b
- signed panel
- 148 agreed · quorum 140 · 200 seats
- question hash
- 0x0a07b264bc6f0b2dd815f6c27e2cd7ffa84235734b260f0b8f24fb5d2e924ff7
- answer type
- uint256
- consumer
- none named; signed for the zero address