Send Transaction
send-transactionExecute transactions to smart contracts on EVM-compatible chains by specifying chain, contract address, ABI-encoded data, and private key securely.
Instructions
Send a transaction to a smart contract on any EVM-compatible chain (requires private key)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"to": "<to>",
"data": "<data>",
"privateKey": "<privateKey>"
},
"name": "send-transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain identifier. Available: ethereum, polygon, bsc, arbitrum, optimism, avalanche, fantom, sepolia | |
| data | Yes | ABI-encoded function call data | |
| gasLimit | No | Gas limit for the transaction | |
| gasPrice | No | Gas price (in wei) | |
| privateKey | Yes | Private key of the sender (will be handled securely) | |
| to | Yes | Contract address to call | |
| value | No | ETH value to send (in wei) | 0 |