Skip to main content
Glama

MCP Ethers Wallet

approveERC20

Authorize a specified Ethereum address to spend a defined amount of ERC20 tokens from your wallet. Use this tool to manage token allowances securely on supported networks.

Input Schema

NameRequiredDescriptionDefault
amountYesThe amount of tokens to transfer (can be decimal, e.g. '1.5')
chainIdNoOptional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used.
gasLimitNo
gasPriceNo
providerNoOptional. Either a network name or custom RPC URL. Use getAllNetworks to see available networks and their details, or getNetwork to get info about a specific network. You can use any network name returned by these tools as a provider value.
spenderAddressYesThe Ethereum address to approve for spending tokens
tokenAddressYesThe address of the ERC20 token contract

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "amount": { "description": "The amount of tokens to transfer (can be decimal, e.g. '1.5')", "type": "string" }, "chainId": { "description": "Optional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used.", "type": "number" }, "gasLimit": { "type": "string" }, "gasPrice": { "type": "string" }, "provider": { "description": "Optional. Either a network name or custom RPC URL. Use getAllNetworks to see available networks and their details, or getNetwork to get info about a specific network. You can use any network name returned by these tools as a provider value.", "type": "string" }, "spenderAddress": { "description": "The Ethereum address to approve for spending tokens", "type": "string" }, "tokenAddress": { "description": "The address of the ERC20 token contract", "type": "string" } }, "required": [ "tokenAddress", "spenderAddress", "amount" ], "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/crazyrabbitLTC/mcp-ethers-server'

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