Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x2287a9620adcbf6250dc71be9ee9b2d3a1ec85a464fc6f5c06669e8d07b61bba (ETH/USDT, currency0/currency1) the median over 5 evenly spaced blocks of the window (blocks 26120348 to 26120646, about 1.5 hours before 26121095), as currency1 per 1e18 raw currency0 in raw units?
Answer
0.0000000027 ETH
the spot price of v4 pool 0x2287…1bba at the median of 5 blocks across the window: 0.0000000027 ETH
2703461232 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x2287a9620adcbf6250dc71be9ee9b2d3a1ec85a464fc6f5c06669e8d07b61bba","invert":true,"samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --invert --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- invert
- true
- poolId
- 0x2287a9620adcbf6250dc71be9ee9b2d3a1ec85a464fc6f5c06669e8d07b61bba
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,120,348 to 26,120,646 to · on Ethereum mainnet
- answered143 of 143 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
- 0xfc2e1694ac3c83c91d5005163b4b1ead21dfc41b250c6b8c3982945f918e7f9a0d60d2c9f8f23b9d5bc85bd0d8a3f10d6e2fd767c547c8c3110a0a9a2cd92ad91c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0xc9d5d641b132a7b76a56ad7a0f1435117cb5869be6b206b53d7b94ab88ccb717
- answer type
- uint256
- consumer
- none named; signed for the zero address