createProvideTonLiquidityTxParams
@foprta/sdk / createProvideTonLiquidityTxParams
Function: createProvideTonLiquidityTxParams()
createProvideTonLiquidityTxParams(
params
):TxParams
Defined in: transactions/provide-native-liquidity.ts:23
Creates a transaction parameters for providing liquidity to a TON/Jetton pool
Parameters
params
Parameters for the transaction
binsToProvide
Bins to provide
depositType
Type of deposit
forwardPayload?
Cell
Forward payload
jettonAmount
bigint
Amount of token to provide
jettonWalletAddress
Address
Address of the token Jetton wallet
liquidityType
Type of liquidity
poolAddress
Address
Address of the pool
rejectPayload?
Cell
Reject payload
senderAddress
Address
Address of the sender
tonAmount
bigint
Amount of TON to provide
Returns
Transaction parameters