Class ExtrinsicSignature

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtrinsicSignature​(java.lang.Object value)  
    • Method Summary

      Modifier and Type Method 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
      • Methods inherited from class java.util.LinkedHashMap

        clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
      • Methods inherited from class java.util.HashMap

        clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
    • Constructor Detail

      • ExtrinsicSignature

        public ExtrinsicSignature​(java.lang.Object value)
    • Method Detail

      • getEra

        public ExtrinsicEra getEra()
        The ExtrinsicEra (mortal or immortal) this signature applies to
      • version

        public int version()
        The encoded version for the signature
      • toU8a

        public byte[] toU8a​(boolean isBare)
        Description copied from class: Struct
        Encodes the value as a Uint8Array as per the parity-codec specifications
        Specified by:
        toU8a in interface Codec
        Overrides:
        toU8a in class Struct
        Parameters:
        isBare - true when the value has none of the type-specific prefixes (internal) Encodes the value as a Uint8Array as per the parity-codec specifications