TronRequestGetContractInfo class

Queries 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. developers.tron.network.

Inheritance

Constructors

TronRequestGetContractInfo({required TronAddress value, bool visible = true})

Properties

hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/getcontractinfo
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value TronAddress
Contract address
final
visible bool
Indicates whether the address is visible.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) Map<String, dynamic>
Converts the response result to the specified type RESULT.
inherited
toJson() Map<String, dynamic>
Converts the request parameters to a JSON format.
override
toRequest(int _) TronRequestDetails
Converts the request parameters to TronRequestDetails with a unique identifier.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited