Skip to main content

createProvideTonLiquidityTxParams

@bidask-protocol/sdk


@bidask-protocol/sdk / createProvideTonLiquidityTxParams

Function: createProvideTonLiquidityTxParams()

createProvideTonLiquidityTxParams(params): TxParams[]

Defined in: transactions/provide-ton-liquidity.ts:26

Creates transaction parameters for providing liquidity to a TON/Jetton pool

Parameters

params

Parameters for the transaction

binsToProvide

LiquidityProvideBins

Bins with amounts to provide liquidity for

forwardPayload?

Cell

Optional payload for successful transaction

initializedRanges

number[]

Array of range numbers that are already initialized

jettonWalletAddress

Address

Address of the jetton wallet

poolAddress

Address

Address of the liquidity pool

queryId?

bigint

Optional query ID for the transaction (defaults to random)

rejectPayload?

Cell

Optional payload for transaction rejection

senderAddress

Address

Address of the liquidity provider

Returns

TxParams[]

Array of transaction parameters