Create LB Pair
Prerequisites
Basic Usage
const tx = await sdk.Factory.createLBPair({
tokenXType: "0x2::sui::SUI",
tokenYType: "0x...::usdc::USDC",
binStep: 20, // 20 basis points
activeId: 8388608 // Starting price = 1.0
});
await sdk.fullClient.signAndExecuteTransaction({
transaction: tx,
signer: keypair
});Parameters
tokenXType & tokenYType
binStep
activeId
Advanced Example
Token Ordering
After Creation
Related Topics
Last updated