createProvideTonLiquidityDammTxParams
@bidask-protocol/sdk / createProvideTonLiquidityDammTxParams
Function: createProvideTonLiquidityDammTxParams()
createProvideTonLiquidityDammTxParams(
params):TxParams
Creates transaction parameters for providing liquidity to a DAMM TON/Jetton pool
Parameters
params
Parameters for the transaction
forwardPayload?
Cell
Optional payload for successful transaction
jettonAmount
bigint
Amount of jettons to provide
jettonWalletAddress
Address
Address of the jetton wallet (required if providing jettons)
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