Package org.polkadot.types.rpc
Class SignedBlock
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.rpc.SignedBlock
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
public class SignedBlock extends Struct
A Block that has been signed and contains a Justification- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSignedBlock.SignedBlockValue
-
Constructor Summary
Constructors Constructor Description SignedBlock(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description BlockgetBlock()The wrapped BlockHashgetHash()Block/headerHashJustificationgetJustification()The wrapped Justification-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
-
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
-
-
-
-
Method Detail
-
getBlock
public Block getBlock()
The wrapped Block
-
getJustification
public Justification getJustification()
The wrapped Justification
-
-