POSTGetContractInfo
Tron Mainnet
https://tron-mainnet.nodit.io/wallet/getcontractinfoQueries a contract's information from the blockchain. The difference from the wallet/getcontract interface is that this interface returns not only the bytecode but also the runtime bytecode of the contract. Compared with bytecode, runtime bytecode does not contain constructor and constructor parameter information.
Request Body
Contract address (format: Base58 or Hex).
Example: TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs
Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)
Responses
Runtime bytecode of the contract.
Total basic energy usage of the contract in the current maintenance cycle.
Energy factor of the contract.
Current maintenance cycle number.