Transaction
The following payload can be used with the
Sign and
Sign and Broadcast endpoints.
| Field | Description | Type - Optional |
|---|---|---|
kind | Transaction | String |
transaction | The unsigned hex encoded transaction as shown below. | String |
externalId | A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here). | String (optional) |
Typescript Example with AlgoSDK
First install the AlgoSDK. You can find the full documentation here: https://github.com/algorand/js-algorand-sdk Here a code sample to broadcast a transaction via the Dfns TypeScript SDK:Complete examples
For complete working examples, see the SDK examples on GitHub:- Basic transaction - Simple payment transaction
- Asset transaction - Algorand Standard Asset (ASA) transfers
- Multisig transaction - Multi-signature transactions
