sendTon
Sends native TON to a recipient address.Usage
Parameters
Returns
Promise<TonSendTransactionResponse> - A promise that resolves to an object containing:
transactionHash- The hash of the submitted transaction
Errors
Notes
- The amount is specified in nanotons (1 TON = 1,000,000,000 nanotons). You can use the exported
NANOTON_PER_TONconstant for conversion.
Related functions
- sendJetton - Send Jetton tokens
- sendTransaction - Send a custom TON transaction
- isTonWalletAccount - Check if a wallet account is a TON account