Making a transaction
🌐 POST
/v1/transfer
To make a transaction you need three parameters: the sender private key, the recipient public key and the amount of tokens to send.
JWT Payload
To specify the sender, you'll need to pass its wallet secret key in the JWT payload.
Example:
{ account: "wol2RpVsl15tr3rtvlbj79Stmqrv76KuKYA+FIlSzLnIN9F0R7uSSaCfal888IX24fzKm035RKfLdZnqmyKhIw==" // Please do not reutilize this key}
Request body
The request body is a JSON object with the following properties:
recipient: The recipient public key / addressamount: The amount of tokens to send. Make sure it's a string with the correct number of decimals. For example, if you use 9 decimals, and want to send 1 token, you would send "1000000000".
Response body
The response body is a JSON object with the following properties:
signature: The transaction hashstatus: The transaction status object containing:confirmationStatus: The confirmation status of the transactionerr: The error message if the transaction failedamount: The amount of tokens sent