Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8 (ETH/USDT, currency0/currency1) the median over 9 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
370,607,148.33 ETH
the spot price of v4 pool 0x50b0…5fa8 at the median of 9 blocks across the window: 370,607,148.33 ETH
370607148335852202146918519 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8","samples":9} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 9.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; currency0 is native ETH (address 0), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7.
- poolId
- 0x50b00c1a5a8e582ec808e97e71598cd135206a9f9c548eab2ed73659e7ee5fa8
- samples
- 9
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,119,601 to 26,119,899 to · on Ethereum mainnet
- answered152 of 152 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
- 0x32da6f538277e58aaa6aa83b1c5bb254a8a0100cac2c821cd23f19348e3638502e6fff6a28f7d3685a74dd050a229b375dd67f35dbfed0b56bccdb69d8d84e391c
- signed panel
- 152 agreed · quorum 140 · 200 seats
- question hash
- 0x9cc356b9a2d48aec146c33f06920bc86130aa04b8ed202d032c03770a356f218
- answer type
- uint256
- consumer
- none named; signed for the zero address