send_contract_transaction
Execute a transaction to call a smart contract method on the Rootstock blockchain by specifying the contract address, method name, and optional parameters, value, gas limit, and ABI.
Instructions
Send a transaction to a smart contract method
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": {
"contractAddress": "<contractAddress>",
"methodName": "<methodName>"
},
"name": "send_contract_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Optional contract ABI | |
| contractAddress | Yes | Smart contract address | |
| gasLimit | No | Optional gas limit | |
| gasPrice | No | Optional gas price | |
| methodName | Yes | Method name to call | |
| parameters | No | Method parameters | |
| value | No | Optional ether value to send |