Skip to main content

createProvideSinglesideLiquidityDammTxParams

@bidask-protocol/sdk


@bidask-protocol/sdk / createProvideSinglesideLiquidityDammTxParams

Function: createProvideSinglesideLiquidityDammTxParams()

createProvideSinglesideLiquidityDammTxParams(params): TxParams

Creates transaction parameters for providing single-side liquidity to a DAMM pool

Parameters

params

Parameters for the transaction

amount

bigint

Amount of jettons to provide

forwardPayload?

Cell

Optional payload for successful transaction

jettonWalletAddress

Address

Address of the jetton wallet

lockLiquidity?

boolean

Whether to lock the liquidity

poolAddress

Address

Address of the liquidity pool

queryId?

bigint

Optional query ID for the transaction (defaults to random)

receiverAddress?

Address

Address to receive liquidity tokens (defaults to senderAddress)

rejectPayload?

Cell

Optional payload for transaction rejection

senderAddress

Address

Address of the liquidity provider

Returns

TxParams

Transaction parameters