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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"network": "<network>",
"appId": "<appId>",
"sender": "<sender>",
"amount": "<amount>"
},
"name": "nt200_deposit_txn"
}
}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. |