public static enum Transaction.Purpose extends Enum<Transaction.Purpose>
Enum Constant and Description |
---|
ASSURANCE_CONTRACT_CLAIM
Transaction that uses up pledges to an assurance contract
|
ASSURANCE_CONTRACT_PLEDGE
Transaction that makes a pledge to an assurance contract.
|
ASSURANCE_CONTRACT_STUB
Send-to-self transaction that exists just to create an output of the right size we can pledge.
|
KEY_ROTATION
Transaction automatically created and broadcast in order to reallocate money from old to new keys.
|
RAISE_FEE
Raise fee, e.g.
|
UNKNOWN
Used when the purpose of a transaction is genuinely unknown.
|
USER_PAYMENT
Transaction created to satisfy a user payment request.
|
Modifier and Type | Method and Description |
---|---|
static Transaction.Purpose |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Purpose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.Purpose UNKNOWN
public static final Transaction.Purpose USER_PAYMENT
public static final Transaction.Purpose KEY_ROTATION
public static final Transaction.Purpose ASSURANCE_CONTRACT_CLAIM
public static final Transaction.Purpose ASSURANCE_CONTRACT_PLEDGE
public static final Transaction.Purpose ASSURANCE_CONTRACT_STUB
public static final Transaction.Purpose RAISE_FEE
public static Transaction.Purpose[] values()
for (Transaction.Purpose c : Transaction.Purpose.values()) System.out.println(c);
public static Transaction.Purpose valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.