public class ExtrinsicSignature extends Struct implements Types.IExtrinsicSignature
A container for the Signature associated with a specific org.polkadot.type.extrinsics
| Modifier and Type | Field and Description |
|---|---|
static int |
BIT_SIGNED |
static int |
BIT_UNSIGNED |
static int |
BIT_VERSION |
static byte[] |
IMMORTAL_ERA |
| Constructor and Description |
|---|
ExtrinsicSignature(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEncodedLength()
The length of the value when encoded as a Uint8Array
|
ExtrinsicEra |
getEra()
The ExtrinsicEra (mortal or immortal) this signature applies to
|
NonceCompact |
getNonce()
The
Nonce for the signature |
Signature |
getSignature()
The actuall
Signature hash |
Address |
getSigner()
The
Address that signed |
boolean |
isSigned() |
byte[] |
toU8a(boolean isBare)
Encodes the value as a Uint8Array as per the parity-codec specifications
|
int |
version()
The encoded version for the signature
|
builder, eq, getField, isEmpty, toArray, toHex, toJson, toString, withclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizefinalize, getClass, notify, notifyAll, wait, wait, waitpublic static final byte[] IMMORTAL_ERA
public static final int BIT_SIGNED
public static final int BIT_UNSIGNED
public static final int BIT_VERSION
public int getEncodedLength()
StructThe length of the value when encoded as a Uint8Array
getEncodedLength in interface CodecgetEncodedLength in class Structpublic boolean isSigned()
isSigned in interface Types.IExtrinsicSignaturepublic ExtrinsicEra getEra()
The ExtrinsicEra (mortal or immortal) this signature applies to
public NonceCompact getNonce()
The Nonce for the signature
public int version()
The encoded version for the signature
public byte[] toU8a(boolean isBare)
StructEncodes the value as a Uint8Array as per the parity-codec specifications