Ethereum RPC MCP Server

eth_sendTransaction

Sends a transaction to the Ethereum network

Input Schema

NameRequiredDescriptionDefault
transactionYesThe transaction object

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "transaction": { "additionalProperties": false, "description": "The transaction object", "properties": { "data": { "description": "The compiled code of a contract OR the hash of the invoked method signature and encoded parameters", "pattern": "^0x[a-fA-F0-9]*$", "type": "string" }, "from": { "description": "The address the transaction is sent from", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "gas": { "description": "Integer of the gas provided for the transaction execution in hex", "pattern": "^0x[a-fA-F0-9]+$", "type": "string" }, "gasPrice": { "description": "Integer of the gas price used for each paid gas in hex", "pattern": "^0x[a-fA-F0-9]+$", "type": "string" }, "nonce": { "description": "Integer of a nonce used to prevent transaction replay", "pattern": "^0x[a-fA-F0-9]+$", "type": "string" }, "to": { "description": "The address the transaction is directed to", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "value": { "description": "Integer of the value sent with this transaction in hex", "pattern": "^0x[a-fA-F0-9]+$", "type": "string" } }, "required": [ "from" ], "type": "object" } }, "required": [ "transaction" ], "type": "object" }