Oracle
On Ethereum mainnet, what was the Uniswap v4 spot price of pool 0x20c3a15e34e5d88aeba004b0753af69e4f6bea80eae2263f7a92e919cd33cc56 (WBTC/USDT, currency0/currency1) at the window's last block (blocks 26127712 to 26128010, about 45 minutes before 26128234), as currency0 per 1e18 raw currency1 in raw units?
Answer
11,725,008.35
the spot price of v4 pool 0x20c3…cc56 at the closing block: 11,725,008.35
1172500835600398 uint256, 8 decimals
- recipe
- {"kind":"univ4-spot","poolManager":"0x000000000004444c5dc75cb358380d2e3de08a90","poolId":"0x20c3a15e34e5d88aeba004b0753af69e4f6bea80eae2263f7a92e919cd33cc56"} — write recipe exactly this.
- pool
- PoolManager 0x000000000004444c5dc75cb358380d2e3de08a90; pool 0x20c3a15e34e5d88aeba004b0753af69e4f6bea80eae2263f7a92e919cd33cc56: currency0 is WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 (8 decimals), currency1 is USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 (6 decimals).
- compute
- scan.mjs --v4-spot --pool-manager 0x000000000004444c5dc75cb358380d2e3de08a90 --pool-id 0x20c3a15e34e5d88aeba004b0753af69e4f6bea80eae2263f7a92e919cd33cc56
- poolId
- 0x20c3a15e34e5d88aeba004b0753af69e4f6bea80eae2263f7a92e919cd33cc56
- poolManager
- 0x000000000004444c5dc75cb358380d2e3de08a90
Work
- pinnedblocks 26,127,712 to 26,128,010 to · on Ethereum mainnet
- answered150 of 150 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
- 0x355450aaa69bfc3d765c6ff54329a44a83fc21e34a1dd77bbcbacdc0abf10a2d53663c90959d2bd48ec9b17be6f8151e61899e6400a5587c4dbf4eb7f977b7541c
- signed panel
- 150 agreed · quorum 140 · 200 seats
- question hash
- 0x3e4798d53856d72f4273e8ba35886c22d23b2754c317566b41f38adbcd512dd4
- answer type
- uint256
- consumer
- none named; signed for the zero address