Skip to main content

createExecuteTonLimitOrderTxParams

@bidask-protocol/sdk


@bidask-protocol/sdk / createExecuteTonLimitOrderTxParams

Function: createExecuteTonLimitOrderTxParams()

createExecuteTonLimitOrderTxParams(params): TxParams

Defined in: transactions/execute-ton-limit-order.ts:18

Creates transaction parameters to execute a limit order using native TON

Parameters​

params​

Execution parameters

forwardPayload?​

Cell

Optional payload on successful execution

orderIndex​

bigint

Index of the limit order on the pool

poolAddress​

Address

Address of the limit pool

queryId?​

bigint

Optional query ID for the transaction (defaults to random)

rejectPayload?​

Cell

Optional payload on execution failure

salt​

bigint

Salt for shard brute-forcing the order address

sellAmount​

bigint

Amount of native TON to use for the execution

Returns​

TxParams

Transaction parameters