public enum OutputScriptType extends java.lang.Enum<OutputScriptType>
LightningApi.OutputScriptType
Modifier and Type | Method and Description |
---|---|
LightningApi.OutputScriptType |
getApiObject() |
static OutputScriptType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OutputScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static OutputScriptType |
wrap(LightningApi.OutputScriptType apiObject) |
public static final OutputScriptType SCRIPT_TYPE_PUBKEY_HASH
public static final OutputScriptType SCRIPT_TYPE_SCRIPT_HASH
public static final OutputScriptType SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH
public static final OutputScriptType SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH
public static final OutputScriptType SCRIPT_TYPE_PUBKEY
public static final OutputScriptType SCRIPT_TYPE_MULTISIG
public static final OutputScriptType SCRIPT_TYPE_NULLDATA
public static final OutputScriptType SCRIPT_TYPE_NON_STANDARD
public static final OutputScriptType SCRIPT_TYPE_WITNESS_UNKNOWN
public static final OutputScriptType SCRIPT_TYPE_WITNESS_V1_TAPROOT
public static OutputScriptType[] values()
for (OutputScriptType c : OutputScriptType.values()) System.out.println(c);
public static OutputScriptType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic LightningApi.OutputScriptType getApiObject()
public static OutputScriptType wrap(LightningApi.OutputScriptType apiObject)