We use this code to confirm the transaction and send requests to the liquidity pools.
import Swapper from "swapper " const service = new Swapper ({ apiKey: 'YOUR_API_KEY' }); service.sendTransaction({ ownerAddress: '0x123', // your web3 wallet address sellTokenAddress: '0x3019bf2a2ef8040c242c9a4c5c4bd4c81678b2a1', // token address to create allowance for });
Last updated 2 years ago