TronRequestCreateTransaction class
Create a TRX transfer transaction. If to_address does not exist, then create the account on the blockchain. developers.tron.network.
- Inheritance
-
- Object
- TVMRequestParam<
ParsedContractRequest, Map< String, dynamic> > - TronRequestCreateTransaction
Constructors
- TronRequestCreateTransaction({required TronAddress ownerAddress, required TronAddress toAddress, required BigInt amount, int? permissionId, String? extraData, bool visible = true})
- TronRequestCreateTransaction.fromContract(TransferContract contract, {int? permissionId, bool visible = false})
-
factory
Properties
- amount → BigInt
-
Transfer TRX amount, in sun
final
- extraData → String?
-
notes on the transaction,
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → TronHTTPMethods
-
method for the request.
no setteroverride
- ownerAddress → TronAddress
-
Transaction initiator address
final
- permissionId → int?
-
for multi-signature use
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toAddress → TronAddress
-
Destination 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) → ParsedContractRequest -
Converts the response result to the specified type
RESULT
.override -
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited