asa_optin_txn
Build an unsigned Algorand Standard Asset opt-in transaction. Send a zero-amount self transfer to opt an account into an ASA on Algorand or Voi mainnet.
Instructions
Build an unsigned ASA opt-in (0-amount self transfer).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional UTF-8 note field on the transaction. | |
| sender | Yes | Account opting in (receiver = sender). | |
| assetId | Yes | ASA asset ID. | |
| network | Yes | Algorand or Voi mainnet identifier. |