How to close liquidity account?
import { SwapActionGenerator } from "@a-dex/a-dex-sdk";
const actionsGen = new SwapActionGenerator("swap.adex");
const action = await actionsGen.close(
[
{
actor: "trader.adex",
permission: "active",
},
],
"trader.adex",
"0,LPA"
);
Last updated
Was this helpful?