Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0xfaa42866f7667e3a1a10d783f3b629171febd45f056336b8df766d74afc0f0f7 (ETH/CLAUS, currency0/currency1) as the median over 5 evenly spaced blocks of the window (blocks 26127712 to 26128010, about 45 minutes before 26128234), as currency0 per 1e18 raw currency1 in raw units?
Answer
0.0000029
the spot price of v4 pool 0xfaa4…f0f7 at the median of 5 blocks across the window: 0.0000029
2929430539100 uint256, 18 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0xfaa42866f7667e3a1a10d783f3b629171febd45f056336b8df766d74afc0f0f7","samples":5} — write recipe exactly this.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0xfaa42866f7667e3a1a10d783f3b629171febd45f056336b8df766d74afc0f0f7: currency0 is native ETH (address 0) (18 decimals), currency1 is CLAUS 0x1b54e762aa34cf6e28e9c082f2848e28e45da6b8 (18 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0xfaa42866f7667e3a1a10d783f3b629171febd45f056336b8df766d74afc0f0f7 --samples 5
- poolId
- 0xfaa42866f7667e3a1a10d783f3b629171febd45f056336b8df766d74afc0f0f7
- samples
- 5
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,127,712 to 26,128,010 to · on Ethereum mainnet
- answered143 of 143 agreed140 needed
- signed
by the attester 0x5598…2982reproduced firstusable until
Checking the signature in this browser.
- typed data
- the exact bytes a consumer verifies, as JSON
- attester
- 0x5598aa9146215bc13eb26f2c692ad1461fd32982
- signature
- 0xbb354ef603dec4f99def8654ee4a238a691f37acc4fd0db57b4410a5b646c1b1514af84276830e6b5110ce5411cfd1418656c58075c1c3e8203503bade9a13701c
- signed panel
- 143 agreed · quorum 140 · 200 seats
- question hash
- 0x1a9abce2106a1a9f17130d2b271d00734bc39f08dc8a7d54309b02604b3812e5
- answer type
- uint256
- consumer
- none named; signed for the zero address