nt200_deposit_txn
Build unsigned NT200 deposit transactions with a preceding payment or ASA transfer. Set assetId for ASA deposits; omit to use network token.
Instructions
Build unsigned NT200 deposit(amount) txn(s). Deposit network token (payment) or ASA (axfer) preceding app call. For network: payment + app call; for ASA: set assetId for axfer + app call. Uses ulujs CONTRACT + abi.nt200.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | Application ID of the ARC-200 or ARC-72 contract. | |
| amount | Yes | Amount to deposit in base units (string). | |
| sender | Yes | Depositor (must hold network token or ASA). | |
| assetId | No | If set, deposit ASA (axfer then app call); omit for network token (payment then app call). | |
| network | Yes | Algorand or Voi mainnet identifier. |