Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2 (WBTC/USDT, currency0/currency1) at the window's last block (blocks 26127637 to 26127935, about 1 hour before 26128234), as currency0 per 1e18 raw currency1 in raw units?
Answer
11,706,437.95
the spot price of v4 pool 0x4a24…c0d2 at the closing block: 11,706,437.95
1170643795880307 uint256, 8 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2"} — write recipe exactly this.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2: currency0 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 (8 decimals), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2
- poolId
- 0x4a24fcf3c1cbebd80d09537c7aa15adf2d228aa1b9ba1b0e5fb82e66dc96c0d2
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,127,637 to 26,127,935 to · on Ethereum mainnet
- answered147 of 147 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
- 0x455edcc3b8b604a76d11b4162378a0c06346742d218c1021925478064f54a78523499f441c34f8770d6d2e5ce8aeb8dd1051e9dfcb5943ff08f085a181fc919e1b
- signed panel
- 147 agreed · quorum 140 · 200 seats
- question hash
- 0x90718ee33589cc8fa04411bafcfb70e8384f3cc6d65c016bdb4d1df5c628df0d
- answer type
- uint256
- consumer
- none named; signed for the zero address