Contracts
Contracts deployed on Tron network.
Note that this table is not compatible with other contract table for EVM blockchains.
Broadly, we can observe 2 types of contract creation "events" on Tron.
transaction_create
These are Tron transactions with type =
CreateSmartContract.
One example of such a transaction is f42caf79b267c445e03663f7996b66d8c3c930a0f82c409a0df814252e528314These transactions have bytecode included in the transactions.
For more info on
CreateSmartContract:
https://github.com/tronprotocol/java-tron/blob/develop/protocol/src/main/protos/core/contract/smart_contract.protoNote that not all contracts deployed with this transaction type will have ABI.
trace_created
These contracts are created from internal transactions.
They do not have bytecode or abi. They are often created and destroyed within the same transactions as well.
Tronscan counts these as contracts, even though exploring the contract will show that it has no data.
One example of such "contracts" is TP2AJ5K5Ao5oZRf5HqNmVzroqe6Xg1QZHd which was created by this internal transaction.
Trying to search the contract on Tronscan will return an error.
Columns
Tron Contracts
Unique key: transaction_hash
Column Name | Description |
---|---|
create_type | Contracts can be created at transaction or trace (internal transactions) level on Tron. For trace contract, there are no ABIs and bytecode available. |
result | The contract result of this transaction. Note that in Tron, for failed contract deployments, there will also be a address created. |
address | Contract address deployed. |
name | Name of the contract specified during deployment. |
bytecode | Contract bytecode. |
abi | Contract ABI. |
origin_energy_limit | Value of owner consume energy limit for each transaction. |
consume_user_resource_percent | User energy payment percentage of the whole energy payment which includes both contract deployer payment and user energy payment. |
call_value | TRX amount sent to smart contract during creation. |
receipt_contract_result | The contract result of this transaction. |
receipt_fee | The transaction fee used. |
fee_limit | The cost limit for energy and fee when trigger and create contract. |
origin_address | Address of smart contract owner at creation. |
transaction_hash | Transaction hash of the contract deployment. |
block_hash | Block hash of the transaction. |
block_number | Block number when the transaction. |
raw_data_hex | Raw data in transaction. |
Last updated