public static interface Neutrino.GetBlockHeaderResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBits()
The bits in hex notation.
|
com.google.protobuf.ByteString |
getBitsBytes()
The bits in hex notation.
|
long |
getConfirmations()
The number of confirmations.
|
java.lang.String |
getHash()
The block hash (same as provided).
|
com.google.protobuf.ByteString |
getHashBytes()
The block hash (same as provided).
|
int |
getHeight()
The block height or index.
|
java.lang.String |
getMerkleroot()
The merkle root.
|
com.google.protobuf.ByteString |
getMerklerootBytes()
The merkle root.
|
int |
getNonce()
The nonce.
|
int |
getNtx()
The number of transactions in the block.
|
java.lang.String |
getPreviousBlockHash()
The hash of the previous block.
|
com.google.protobuf.ByteString |
getPreviousBlockHashBytes()
The hash of the previous block.
|
com.google.protobuf.ByteString |
getRawHex()
The raw hex of the block.
|
long |
getSize()
The block size (bytes).
|
long |
getStrippedSize()
The block size excluding witness data.
|
long |
getTime()
The block time in seconds since epoch (Jan 1 1970 GMT).
|
int |
getVersion()
The block version.
|
java.lang.String |
getVersionHex()
The block version.
|
com.google.protobuf.ByteString |
getVersionHexBytes()
The block version.
|
long |
getWeight()
The block weight as defined in BIP 141.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getHash()
The block hash (same as provided).
string hash = 1;
com.google.protobuf.ByteString getHashBytes()
The block hash (same as provided).
string hash = 1;
long getConfirmations()
The number of confirmations.
int64 confirmations = 2;
long getStrippedSize()
The block size excluding witness data.
int64 stripped_size = 3;
long getSize()
The block size (bytes).
int64 size = 4;
long getWeight()
The block weight as defined in BIP 141.
int64 weight = 5;
int getHeight()
The block height or index.
int32 height = 6;
int getVersion()
The block version.
int32 version = 7;
java.lang.String getVersionHex()
The block version.
string version_hex = 8;
com.google.protobuf.ByteString getVersionHexBytes()
The block version.
string version_hex = 8;
java.lang.String getMerkleroot()
The merkle root.
string merkleroot = 9;
com.google.protobuf.ByteString getMerklerootBytes()
The merkle root.
string merkleroot = 9;
long getTime()
The block time in seconds since epoch (Jan 1 1970 GMT).
int64 time = 10;
int getNonce()
The nonce.
uint32 nonce = 11;
java.lang.String getBits()
The bits in hex notation.
string bits = 12;
com.google.protobuf.ByteString getBitsBytes()
The bits in hex notation.
string bits = 12;
int getNtx()
The number of transactions in the block.
int32 ntx = 13;
java.lang.String getPreviousBlockHash()
The hash of the previous block.
string previous_block_hash = 14;
com.google.protobuf.ByteString getPreviousBlockHashBytes()
The hash of the previous block.
string previous_block_hash = 14;
com.google.protobuf.ByteString getRawHex()
The raw hex of the block.
bytes raw_hex = 15;