createProvideTonSinglesideLiquidityDammTxParams
@bidask-protocol/sdk / createProvideTonSinglesideLiquidityDammTxParams
Function: createProvideTonSinglesideLiquidityDammTxParams()
createProvideTonSinglesideLiquidityDammTxParams(
params):TxParams
Creates transaction parameters for providing single-side TON liquidity to a DAMM pool
Parameters
params
Parameters for the transaction
forwardPayload?
Cell
Optional payload for successful transaction
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
tonAmount
bigint
Amount of TON to provide
Returns
Transaction parameters