Skip to content
docs

TonSwapCheckInput

Defined in: protocol-swap2-omniston/src/ton-swap.ts:81

dest: string

Defined in: protocol-swap2-omniston/src/ton-swap.ts:90

Where the output must land.


inputJetton: string | null

Defined in: protocol-swap2-omniston/src/ton-swap.ts:94


inputUnits: string

Defined in: protocol-swap2-omniston/src/ton-swap.ts:92

Quote fields the body must honour.


optional integratorAddress?: string | null

Defined in: protocol-swap2-omniston/src/ton-swap.ts:98

The integrator the quote was requested with: the only referral a body may name.


minOutputAmount: string

Defined in: protocol-swap2-omniston/src/ton-swap.ts:93


outputJetton: string | null

Defined in: protocol-swap2-omniston/src/ton-swap.ts:95


payloadHex: string

Defined in: protocol-swap2-omniston/src/ton-swap.ts:83

The built message’s body (BoC hex) and destination.


sendAmount: bigint

Defined in: protocol-swap2-omniston/src/ton-swap.ts:86

Value attached to the message, nanoTON.


steps: readonly object[]

Defined in: protocol-swap2-omniston/src/ton-swap.ts:96


targetAddress: string

Defined in: protocol-swap2-omniston/src/ton-swap.ts:84


trader: string

Defined in: protocol-swap2-omniston/src/ton-swap.ts:88

The trader’s wallet (signs; refunds and excesses return to it).