HeliumTransactionType class
An enumeration of transaction types.
To prevent this library from throwing an error when a new transaction type is encountered, this enumeration is open-ended so that additional values can be created at run time. When processing a transaction with a transaction type created at run time, this library represents the transaction with an instance of HeliumTransactionUnknown.
Constructors
- HeliumTransactionType.get(String value)
-
Given a transaction type from JSON, return the enumerated value.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ADD_GATEWAY_V1 → const HeliumTransactionType
- add_gateway_v1
- ASSERT_LOCATION_V1 → const HeliumTransactionType
- assert_location_v1
- ASSERT_LOCATION_V2 → const HeliumTransactionType
- assert_location_v2
- CONSENSUS_GROUP_V1 → const HeliumTransactionType
- consensus_group_v1
- POC_RECEIPTS_V1 → const HeliumTransactionType
- poc_receipts_v1
- PRICE_ORACLE_V1 → const HeliumTransactionType
- price_oracle_v1
- REWARDS_V1 → const HeliumTransactionType
- rewards_v1
- REWARDS_V2 → const HeliumTransactionType
- rewards_v2
- TOKEN_BURN_V1 → const HeliumTransactionType
- token_burn_v1