Transaction sending guide

This section contains a guide for sending transactions in TON blockchain

As a result of the SDK build*TxParams methods calls, you will get the object with the following structure

    to: Address;
    payload: Cell;
    gasAmount: BN;

This object describes to what address the transaction should be sent and what amount of TON to pay for the gas. And payload contains information for the contract of what action you want to perform.

Now, to actually send the transaction to the blockchain we need to use some king of sendTransaction method provided by a TON SDK you are using in your project. There is an extensive list of TON SDKs, and everyone has a slightly different syntax for sending transactions. Usually, you can find the information about how to send the tx on each TON SDK docs, but for a few of them, we got examples right here:

Last updated