HeliumTransactionAddGatewayV1 class
The add_gateway_v1 transaction.
- Inheritance
-
- Object
- HeliumTransaction
- HeliumTransactionAddGatewayV1
- Annotations
-
- @JsonSerializable()
Constructors
- HeliumTransactionAddGatewayV1({required HeliumTransactionType type, required String hash, required int height, required DateTime time, required int fee, required int stakingFee, required String gateway, required String owner, required String payer})
- Creates a new instance.
-
HeliumTransactionAddGatewayV1.fromJson(Map<
String, dynamic> json) -
Creates an instance from a map derived from the JSON serialization.
factory
Properties
- fee → int
-
The transaction fee, in DC.
final
- gateway → String
-
The address of the gateway to add.
This is the address used in the Hotspots API.
final
- hash → String
-
The transaction hash.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
The block containing the transaction.
finalinherited
- owner → String
-
The wallet address of the gateway owner.
This is the address to which gateway rewards will be sent.
final
- payer → String
-
The wallet address of the fee payer.
Typically, this will be the address of the hotspot maker's wallet since
they pay the initial hotspot fees.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stakingFee → int
-
The fee, in DC, to add the gateway.
See: https://docs.helium.com/blockchain/transaction-fees/
final
- time → DateTime
-
The transaction time.
finalinherited
- type → HeliumTransactionType
-
The type of transaction.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Creates a map suitable for serialization to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited