Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x02a13b057643e001f9436fa86e3c28945b6c4475a34e068df5c6ab4d42ff93bf (ETH/AGL, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26120199 to 26120497, about 2 hours before 26121095), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.0000028 ETH
the spot price of v4 pool 0x02a1…93bf at the median of 5 blocks across the window: 0.0000028 ETH
2811512354526 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x02a13b057643e001f9436fa86e3c28945b6c4475a34e068df5c6ab4d42ff93bf","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is AGL 0x63401cdd577478f9389a1683e866a937f072d1c2.
- poolId
- 0x02a13b057643e001f9436fa86e3c28945b6c4475a34e068df5c6ab4d42ff93bf
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,199 to 26,120,497 to · on Ethereum mainnet
- answered150 of 150 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
- 0x7b277ee1039c5edf3d64f0a07ecabd7b5a4a352916007c2a3e905198f433c34107ab36281253580f16fb3ed5e2dcbc328758fe0e30d7a8136ba7acc0fbe61eaf1c
- signed panel
- 150 agreed · quorum 140 · 200 seats
- question hash
- 0xdf86fc69a29d3e0bc84b42d1050f3b3117ab57bbe1fff6302b2a4e5620d037ef
- answer type
- uint256
- consumer
- none named; signed for the zero address