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
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 |
Input Schema (JSON Schema)
{
"properties": {
"abi": {
"description": "Optional contract ABI",
"items": {},
"type": "array"
},
"contractAddress": {
"description": "Smart contract address",
"type": "string"
},
"gasLimit": {
"description": "Optional gas limit",
"type": "string"
},
"gasPrice": {
"description": "Optional gas price",
"type": "string"
},
"methodName": {
"description": "Method name to call",
"type": "string"
},
"parameters": {
"description": "Method parameters",
"items": {},
"type": "array"
},
"value": {
"description": "Optional ether value to send",
"type": "string"
}
},
"required": [
"contractAddress",
"methodName"
],
"type": "object"
}