WDK logoWDK documentation

Send Transactions

Why native TON sends are unsupported on the gasless module and what to use instead.

This guide explains why native TON sends are not supported on the gasless module and how to check current fee rates.

Native TON Sends Are Not Supported

The gasless module does not send native TON. Both account.sendTransaction() and account.signTransaction() throw on this module. The module's purpose is to relay paymaster-funded Jetton transfers, so the only way to move funds is account.transfer().

Calling sendTransaction() throws an error:

sendTransaction Throws
// Throws: "Method 'sendTransaction(tx)' not supported on ton gasless."
await account.sendTransaction({
  to: 'EQ...',
  value: 1000000000 // 1 TON in nanotons
})

To send native TON, use the standard @tetherto/wdk-wallet-ton module. For gasless Jetton transfers, see Transfer Jetton Tokens.

Check Current Fee Rates

You can retrieve current fee rates from the wallet manager using wallet.getFeeRates():

Get Fee Rates
const feeRates = await wallet.getFeeRates()
console.log('Normal fee rate:', feeRates.normal, 'nanotons')
console.log('Fast fee rate:', feeRates.fast, 'nanotons')

Next Steps

To transfer Jetton tokens with gasless fees (paid in paymaster tokens), see Transfer Jetton Tokens.

On this page