Skip to main content
Glama

approve_token_spending

Authorize token spending for trading on Paloma DEX by approving specific amounts for designated contracts across multiple blockchain networks.

Instructions

Approve token spending for trading (two-step approval process).

Args: chain_id: Chain ID (1, 10, 56, 100, 137, 8453, 42161) token_address: Address of token to approve spender_address: Address that will spend the tokens (typically Trader contract) amount: Amount to approve in wei (defaults to unlimited) Returns: JSON string with approval transaction details.

Input Schema

NameRequiredDescriptionDefault
chain_idYes
token_addressYes
spender_addressYes
amountNo

Input Schema (JSON Schema)

{ "properties": { "amount": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Amount" }, "chain_id": { "title": "Chain Id", "type": "string" }, "spender_address": { "title": "Spender Address", "type": "string" }, "token_address": { "title": "Token Address", "type": "string" } }, "required": [ "chain_id", "token_address", "spender_address" ], "type": "object" }

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/VolumeFi/mcpPADEX'

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