This page is a work in progress
The following code snippet shows how to add liquidity from a smart contract.
Queries should not be used onchain to set minAmountOut due to possible manipulation via frontrunning.
Typescript SDK Tutorial