send-transaction
Execute 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)
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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chain": {
"description": "Chain identifier. Available: ethereum, polygon, bsc, arbitrum, optimism, avalanche, fantom, sepolia",
"type": "string"
},
"data": {
"description": "ABI-encoded function call data",
"type": "string"
},
"gasLimit": {
"description": "Gas limit for the transaction",
"type": "string"
},
"gasPrice": {
"description": "Gas price (in wei)",
"type": "string"
},
"privateKey": {
"description": "Private key of the sender (will be handled securely)",
"type": "string"
},
"to": {
"description": "Contract address to call",
"type": "string"
},
"value": {
"default": "0",
"description": "ETH value to send (in wei)",
"type": "string"
}
},
"required": [
"chain",
"to",
"data",
"privateKey"
],
"type": "object"
}