make_asset_freeze_txn
Create an Algorand transaction to freeze or unfreeze a specific asset for a target account, controlling asset transfer permissions.
Instructions
Create an asset freeze transaction
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": {
"from": "<from>",
"assetIndex": "<assetIndex>",
"freezeTarget": "<freezeTarget>",
"freezeState": "<freezeState>"
},
"name": "make_asset_freeze_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Sender address in standard Algorand format (58 characters) | |
| assetIndex | Yes | Index of the asset being frozen | |
| freezeTarget | Yes | Address of the account whose asset is being frozen/unfrozen | |
| freezeState | Yes | True to freeze the asset, false to unfreeze | |
| note | No | Transaction note field (up to 1000 bytes) | |
| rekeyTo | No | Address to rekey the sender account to | |
| fee | No | Transaction fee in microAlgos. If not set, uses suggested fee from the network | |
| flatFee | No | If true, fee is used as-is (flat fee). If false (default), fee is per-byte | |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |