createProvideLiquidityTxParams
@foprta/sdk / createProvideLiquidityTxParams
Function: createProvideLiquidityTxParams()
createProvideLiquidityTxParams(
params
):TxParams
[]
Defined in: transactions/provide-liquidity.ts:24
Creates a transaction parameters for providing liquidity to a Jetton/Jetton pool
Parameters
params
Parameters for the transaction
binsToProvide
Bins to provide
depositType
Type of deposit
forwardPayload?
Cell
Forward payload
jettonAmount0
bigint
Amount of token0 to provide
jettonAmount1
bigint
Amount of token1 to provide
jettonWalletAddress0
Address
Address of the token0 Jetton wallet
jettonWalletAddress1
Address
Address of the token1 Jetton wallet
liquidityType
Type of liquidity
poolAddress
Address
Address of the pool
rejectPayload?
Cell
Reject payload
senderAddress
Address
Address of the sender
Returns
TxParams
[]
Transaction parameters