Skip to main content
Glama

MCP Ethers Wallet

contractCallWithOverrides

Invoke smart contract methods with customization, including gas limits, gas prices, nonce, and value, tailored to specific Ethereum network interactions.

Instructions

Call a method on a smart contract with advanced options

Input Schema

NameRequiredDescriptionDefault
abiYesThe ABI of the contract as a JSON string
contractAddressYesThe address of the smart contract
gasLimitNoOptional. A manual gas limit for the transaction
gasPriceNoOptional. A manual gas price for legacy transactions
methodYesThe method name to invoke
methodArgsNoAn array of arguments to pass to the method
nonceNoOptional. A manual nonce for the transaction
providerNoOptional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.
valueNoOptional. The amount of ETH to send with the call

Input Schema (JSON Schema)

{ "properties": { "abi": { "description": "The ABI of the contract as a JSON string", "type": "string" }, "contractAddress": { "description": "The address of the smart contract", "type": "string" }, "gasLimit": { "description": "Optional. A manual gas limit for the transaction", "type": "string" }, "gasPrice": { "description": "Optional. A manual gas price for legacy transactions", "type": "string" }, "method": { "description": "The method name to invoke", "type": "string" }, "methodArgs": { "description": "An array of arguments to pass to the method", "items": { "type": [ "string", "number", "boolean", "object" ] }, "type": "array" }, "nonce": { "description": "Optional. A manual nonce for the transaction", "type": "number" }, "provider": { "description": "Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.", "type": "string" }, "value": { "description": "Optional. The amount of ETH to send with the call", "type": "string" } }, "required": [ "contractAddress", "abi", "method" ], "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