Skip to main content
Glama

make_app_clear_txn

Create an application clear state transaction on the Algorand blockchain to remove local state data from a smart contract application.

Instructions

Create an application clear state transaction

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesSender address in standard Algorand format (58 characters)
appIndexYesID of the application to clear state from
noteNoTransaction note field (up to 1000 bytes)
leaseNoLease enforces mutual exclusion of transactions (32 bytes)
rekeyToNoAddress to rekey the sender account to
appArgsNoArguments to pass to the application (max 16 arguments)
accountsNoAccounts whose local state may be accessed (max 4 accounts)
foreignAppsNoIDs of apps whose global state may be accessed (max 8 apps)
foreignAssetsNoIDs of assets that may be accessed (max 8 assets)
onCompleteNoApplication call completion behavior (0=NoOp, 1=OptIn, 2=CloseOut, 3=ClearState, 4=UpdateApplication, 5=DeleteApplication)
feeNoTransaction fee in microAlgos. If not set, uses suggested fee from the network
flatFeeNoIf true, fee is used as-is (flat fee). If false (default), fee is per-byte
networkNoAlgorand network to use (default: mainnet)
itemsPerPageNoNumber of items per page for paginated responses (default: 10)
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GoPlausible/algorand-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server