Skip to main content
Glama

api_haystack_needs_optin

Check if an Algorand address needs to opt into an asset before swapping. Returns true if opt-in is required, false otherwise. Use before executing swaps to determine if wallet_optin_asset should be called first.

Instructions

Check if an Algorand address needs to opt into an asset before swapping. Returns true if opt-in is needed, false otherwise. Always returns false for ALGO (ASA 0). Use before executing a swap to determine if wallet_optin_asset should be called first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesAlgorand address to check
assetIdYesAsset ID to check opt-in status for
networkNoAlgorand network to use (default: mainnet)
itemsPerPageNoNumber of items per page for paginated responses (default: 10)

Tool Definition Quality

Score is being calculated. Check back soon.

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