This section provides a quick start guide for common use cases, including checking allowances, setting up wallet clients, providing approvals, signing permits, and creating positions.
Check Token Allowance
consttokenAllowance=awaitDZapDcaClient.getAllowance({ account:/* Your account address */, chainId:42161,// arbitrum fromToken:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",// USDC});
Set Up Wallet Client
Use walletClient as per the viem library's requirements.