⛏️transferToken
Last updated
Last updated
The transferToken
function transfers a specified amount of a token from one address to another using the private key associated with the sender's wallet and returns a transaction signature.
The function does not take any parameters.
Name | Type | Description |
---|---|---|
Before making requests with NEST® SDK, you must have it installed.
You can install NEST® SDK using either npm
or yarn
. Use the following commands to install NEST® SDK:
Here is an example of how to make a transferToken
request using the NEST® SDK:
Crypto Wallets: The function can be used by crypto wallets to generate new key pairs for their users.
Online Marketplaces: The function can be used by online marketplaces to facilitate payments using Solana.
Cryptocurrency Exchanges: The function can be used by cryptocurrency exchanges to generate new key pairs for their users to use on Solana.
publicKey
string
The generated public key in Base58 format
privateKey
string
The generated private key in Base58 format