Deploy a smart contract
Deploys a new smart contract to the TRON blockchain. The owner address must have sufficient funds to pay for the deployment.
Request
This endpoint expects an object.
owner_address
Base58 address of the contract deployer.
abi
JSON-encoded ABI string for the smart contract.
bytecode
Hex-encoded bytecode of the smart contract.
name
Name for the contract.
consume_user_resource_percent
Percent of user resource consumption for contract execution (0-100).
origin_energy_limit
Maximum energy limit for contract execution.
parameter
Constructor parameters, hex-encoded.
visible
Indicates if the address is base58 (true) or hex (false).
Response
Unsigned transaction object for contract deployment.
visible
txID
raw_data
raw_data_hex