Skip to main content

createProvideTonLiquidityTxParams

@foprta/sdk


@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

LiquidityProvideBins

Bins to provide

depositType

DepositType

Type of deposit

forwardPayload?

Cell

Forward payload

jettonAmount

bigint

Amount of token to provide

jettonWalletAddress

Address

Address of the token Jetton wallet

liquidityType

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

TxParams

Transaction parameters