Skip to content
docs

TonTransferOptions

Defined in: wallet-ton/src/types.ts:106

A native TON or jetton transfer. Amount in nanotons or the jetton’s base units.

optional allowForeignResponseDestination?: boolean

Defined in: wallet-ton/src/types.ts:130

Jetton only: let responseDestination be another address than this wallet. Off by default.


amount: string | number | bigint

Defined in: wallet-ton/src/types.ts:111


optional attachedValue?: string | number | bigint

Defined in: wallet-ton/src/types.ts:134

Jetton only: nanotons attached to the jetton-wallet call (default config.jettonAttachedValue + forwardTonAmount).


optional customPayload?: Cell

Defined in: wallet-ton/src/types.ts:122

Jetton only: custom payload cell (rarely needed; e.g. mintless jettons).


optional forwardPayload?: string | Cell

Defined in: wallet-ton/src/types.ts:115

Jetton only: forward payload — a text comment or a Cell (DEX / escrow payloads).


optional forwardTonAmount?: string | number | bigint

Defined in: wallet-ton/src/types.ts:113

Jetton only: nanotons forwarded to the recipient with the transfer notification (default 1).


optional memo?: string

Defined in: wallet-ton/src/types.ts:120

Text memo (a deposit memo, an exchange tag). Jetton: sent as the forward-payload comment (TEP-74); native TON: the message comment. Cannot be combined with forwardPayload.


optional queryId?: number | bigint

Defined in: wallet-ton/src/types.ts:132

Jetton only: query id (default random).


recipient: string

Defined in: wallet-ton/src/types.ts:110

Wallet address that receives (for a jetton, its owner, not its jetton wallet).


optional responseDestination?: string

Defined in: wallet-ton/src/types.ts:128

Jetton only: where excess TON returns (default: this wallet). Another address is refused unless allowForeignResponseDestination is set: it receives TON the policies’ recipient check never sees.


optional token?: string

Defined in: wallet-ton/src/types.ts:108

Jetton master address. Omit for native TON.