Skip to main content
Glama
arcadia-finance

arcadia-finance-mcp-server

write.wallet.approve

Build unsigned approval transactions for tokens or NFTs to enable deposits and liquidity operations in Arcadia Finance. Check allowances first to avoid unnecessary approvals.

Instructions

Build an unsigned approval transaction. For ERC20 tokens: generates approve(spender, amount). For ERC721/ERC1155 NFTs (e.g. LP positions): generates setApprovalForAll(operator, true). Required before write.account.deposit or write.account.add_liquidity (when depositing from wallet). Tip: call read.wallet.allowances first to check if approval already exists — skip this if the current allowance is sufficient.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_addressYesToken contract address to approve
spender_addressYesAddress being approved — use the Arcadia account address for deposits
asset_typeNoToken type: 'erc20' (default) for fungible tokens, 'erc721' or 'erc1155' for NFTs (LP positions)erc20
amountNoERC20 only: amount in raw units, or 'max_uint256' for unlimited. Ignored for NFTs.max_uint256
chain_idNoChain ID: 8453 (Base) or 130 (Unichain)

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/arcadia-finance/arcadia-finance-mcp-server'

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