public class RedeemData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<ECKey> |
keys |
Script |
redeemScript |
Modifier and Type | Method and Description |
---|---|
ECKey |
getFullKey()
Returns the first key that has private bytes
|
static RedeemData |
of(ECKey key,
Script redeemScript)
Creates RedeemData for P2PKH, P2WPKH or P2PK input.
|
static RedeemData |
of(java.util.List<ECKey> keys,
Script redeemScript) |
java.lang.String |
toString() |
public final Script redeemScript
public final java.util.List<ECKey> keys
public static RedeemData of(java.util.List<ECKey> keys, Script redeemScript)
public static RedeemData of(ECKey key, Script redeemScript)
public ECKey getFullKey()
public java.lang.String toString()
toString
in class java.lang.Object