createProvideLiquidityDammTxParams
@bidask-protocol/sdk / createProvideLiquidityDammTxParams
Function: createProvideLiquidityDammTxParams()
createProvideLiquidityDammTxParams(
params):TxParams[]
Creates transaction parameters for providing liquidity to a DAMM Jetton/Jetton pool
Parameters
params
Parameters for the transaction
amount0
bigint
Amount of token0 to provide
amount1
bigint
Amount of token1 to provide
forwardPayload?
Cell
Optional payload for successful transaction
isReceiverAccount?
boolean
Whether receiver is a trade account
jettonWalletAddress0
Address
Address of the token0 jetton wallet
jettonWalletAddress1
Address
Address of the token1 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[]
Array of transaction parameters