theta_deploy_contract
Deploy a smart contract to Theta mainnet. This irreversible action requires bytecode and ABI.
Instructions
Deploy a smart contract to Theta mainnet. REQUIRES THETA_ALLOW_WRITES=true. Irreversible.
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": {
"bytecode": "<bytecode>",
"abi": "<abi>"
},
"name": "theta_deploy_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | Yes | ||
| bytecode | Yes | ||
| constructor_args | No |