Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x3d8a4e3c8985f514808a901424724c9bc03b7a5b5ac3ca8b679d4681690d1e7f the median over 5 evenly spaced blocks of the window (blocks 26100573 to 26100871, about 30 minutes before 26101021), as currency0 per 1e18 raw currency1 in raw units?
Answer
313,402,462,848.3 ETH
the spot price of v4 pool 0x3d8a…1e7f at the median of 5 blocks across the window: 313,402,462,848.3 ETH
313402462848305859870724018213 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x3d8a4e3c8985f514808a901424724c9bc03b7a5b5ac3ca8b679d4681690d1e7f","samples":5} — write recipe exactly this; compute with scan.mjs --v4-spot --samples 5.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; the pool pairs native ETH with 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.
- poolId
- 0x3d8a4e3c8985f514808a901424724c9bc03b7a5b5ac3ca8b679d4681690d1e7f
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,100,573 to 26,100,871 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
- 0x2ab630eca3623bba823e30722e1e02edd46bebff83789294044a3acb231a9305467d9c1cfc7d025f7dc9a089fbfc34a493b4513f36044af19aed1aff646bbc651b
- signed panel
- 141 agreed · quorum 140 · 200 seats
- question hash
- 0x5ce69157351e2c3e5cef9a607271c1e4da873cb11436a57f8e1a29b12dad36ce
- answer type
- uint256
- consumer
- none named; signed for the zero address