Skip to main content

createProvideLiquidityTxParams

@foprta/sdk


@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

LiquidityProvideBins

Bins to provide

depositType

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

LiquidityType

Type of liquidity

poolAddress

Address

Address of the pool

rejectPayload?

Cell

Reject payload

senderAddress

Address

Address of the sender

Returns

TxParams[]

Transaction parameters