⛏️transferTokens
Description
The transferTokens
function allows users to transfer tokens from one account to another on the Casper blockchain network.
Parameters
Parameter | Type | Description |
---|---|---|
| string | The RPC endpoint of the Casper network |
| string | The private key of the sender's account |
| string | The public key of the recipient's account |
| number | The amount of tokens to transfer |
Response
Name | Type | Description |
---|---|---|
| string | The hash of the transaction on the Casper network |
Example Request and Response
Prerequisites
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:
Request
Here is an example of how to make a transferTokens
request using the Nest SDK:
Response
Use Cases
Token Transfers: The function can be used to transfer tokens from one account to another on the Casper blockchain network.
DApp Development: The function can be used by developers to integrate token transfers into their decentralized applications built on the Casper blockchain network.
Last updated