Binance Web3 Connector JS
    Preparing search index...

    Request parameters for buildLpAddTransaction operation in DefiTransactionApi. BuildLpAddTransactionRequest

    interface BuildLpAddTransactionRequest {
        address: string;
        investmentId: string;
        nftId?: string;
        nonce?: string;
        priceRange?: string;
        recvWindow?: number | bigint;
        simulate?: boolean;
        slippageBps?: string;
        tickLower?: string;
        tickUpper?: string;
        tokenList: BuildLpAddTransactionRequestTokenListInner[];
    }
    Index
    address: string

    User wallet address (the signer / sender).

    DefiTransactionApiBuildLpAddTransaction

    investmentId: string

    LP investment product ID (chain-agnostic).

    DefiTransactionApiBuildLpAddTransaction

    nftId?: string

    LP NFT token ID, decimal string (e.g. \"7225901\" or \"#7225901\"). Required when appending to an existing position (reuses its range); omit for a new position. Highest-priority tick-range source — see tickLower for the pick-exactly-one rule. The # prefix returned by the position list may be passed as-is — the service strips it automatically.

    DefiTransactionApiBuildLpAddTransaction

    nonce?: string

    Unique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.

    DefiTransactionApiBuildLpAddTransaction

    priceRange?: string

    Price range as a percentage (e.g. \"5\" = ±5%) for a new position. Alternative to tickLower+tickUpper; see tickLower for the pick-exactly-one rule.

    DefiTransactionApiBuildLpAddTransaction

    recvWindow?: number | bigint

    Allowed time deviation in milliseconds (default: 5000, max: 60000).

    DefiTransactionApiBuildLpAddTransaction

    simulate?: boolean

    When true, the response also includes a preview object. Default false. If the simulated transaction reverts, the request returns 40485 for a specific classified revert reason or 40484 for any other revert (see Error Codes).

    DefiTransactionApiBuildLpAddTransaction

    slippageBps?: string

    Slippage tolerance for the LP leg, in basis points (e.g. 300 = 3%).

    DefiTransactionApiBuildLpAddTransaction

    tickLower?: string

    Lower tick bound (raw int24) for a new position. MUST be aligned to the pool's tickSpacing. Pick exactly one tick-range source: tickLower+tickUpper, priceRange, or nftId (to append to an existing position). If several are supplied, the lowest-priority ones are ignored (priority: nftId > priceRange > explicit tick pair).

    DefiTransactionApiBuildLpAddTransaction

    tickUpper?: string

    Upper tick bound (raw int24) for a new position. MUST be aligned to the pool's tickSpacing. See tickLower for the pick-exactly-one rule.

    DefiTransactionApiBuildLpAddTransaction

    Tokens to supply. Two tokens for a standard LP add.

    DefiTransactionApiBuildLpAddTransaction