Sending transactions

We can stand out two kinds of sending transactions from the Terminal. Although from user's point of view, it looks like one wholeness, each functionality is backed by different, complex pieces of code. The two kinds are:

  • Sending SOL

  • Sending SPL tokens

To perform the transfer user is obligated to make some necessary choices:

  • Enter recipient's public key

  • Enter amount he/she would like to send

  • Select token from menu

Part of code responsible for sending Solana:

Part of code necessary to sending SPL tokens:

Universal function:

Last updated