deploy_contract
Deploys a smart contract to the TRON network using its ABI and compiled bytecode, with optional constructor arguments, network selection, and fee limit.
Instructions
Deploy a smart contract to the TRON network using ABI and Bytecode.
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": {
"abi": "<abi>",
"bytecode": "<bytecode>"
},
"name": "deploy_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | Yes | The contract ABI (array of objects) | |
| args | No | Constructor arguments | |
| name | No | Contract name (optional) | |
| network | No | Network name. Defaults to mainnet. | |
| bytecode | Yes | The compiled contract bytecode (hex string) | |
| feeLimit | No | Fee limit in Sun (default: 1,000,000,000 = 1000 TRX) |