final case class GetBlockHeaderResponse(hash: String = "", confirmations: Long = 0L, strippedSize: Long = 0L, size: Long = 0L, weight: Long = 0L, height: Int = 0, version: Int = 0, versionHex: String = "", merkleroot: String = "", time: Long = 0L, nonce: Int = 0, bits: String = "", ntx: Int = 0, previousBlockHash: String = "", rawHex: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBlockHeaderResponse] with Product with Serializable
- hash
The block hash (same as provided).
- confirmations
The number of confirmations.
- strippedSize
The block size excluding witness data.
- size
The block size (bytes).
- weight
The block weight as defined in BIP 141.
- height
The block height or index.
- version
The block version.
- versionHex
The block version.
- merkleroot
The merkle root.
- time
The block time in seconds since epoch (Jan 1 1970 GMT).
- nonce
The nonce.
- bits
The bits in hex notation.
- ntx
The number of transactions in the block.
- previousBlockHash
The hash of the previous block.
- rawHex
The raw hex of the block.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- GetBlockHeaderResponse
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GetBlockHeaderResponse(hash: String = "", confirmations: Long = 0L, strippedSize: Long = 0L, size: Long = 0L, weight: Long = 0L, height: Int = 0, version: Int = 0, versionHex: String = "", merkleroot: String = "", time: Long = 0L, nonce: Int = 0, bits: String = "", ntx: Int = 0, previousBlockHash: String = "", rawHex: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- hash
The block hash (same as provided).
- confirmations
The number of confirmations.
- strippedSize
The block size excluding witness data.
- size
The block size (bytes).
- weight
The block weight as defined in BIP 141.
- height
The block height or index.
- version
The block version.
- versionHex
The block version.
- merkleroot
The merkle root.
- time
The block time in seconds since epoch (Jan 1 1970 GMT).
- nonce
The nonce.
- bits
The bits in hex notation.
- ntx
The number of transactions in the block.
- previousBlockHash
The hash of the previous block.
- rawHex
The raw hex of the block.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bits: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: GetBlockHeaderResponse.type
- Definition Classes
- GetBlockHeaderResponse → GeneratedMessage
- val confirmations: Long
- def discardUnknownFields: GetBlockHeaderResponse
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- GetBlockHeaderResponse → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- GetBlockHeaderResponse → GeneratedMessage
- val hash: String
- val height: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val merkleroot: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonce: Int
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val ntx: Int
- val previousBlockHash: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rawHex: ByteString
- def serializedSize: Int
- Definition Classes
- GetBlockHeaderResponse → GeneratedMessage
- val size: Long
- val strippedSize: Long
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val time: Long
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- GetBlockHeaderResponse → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[GetBlockHeaderResponse, GetBlockHeaderResponse]) => Mutation[GetBlockHeaderResponse]*): GetBlockHeaderResponse
- Definition Classes
- Updatable
- val version: Int
- val versionHex: String
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val weight: Long
- def withBits(__v: String): GetBlockHeaderResponse
- def withConfirmations(__v: Long): GetBlockHeaderResponse
- def withHash(__v: String): GetBlockHeaderResponse
- def withHeight(__v: Int): GetBlockHeaderResponse
- def withMerkleroot(__v: String): GetBlockHeaderResponse
- def withNonce(__v: Int): GetBlockHeaderResponse
- def withNtx(__v: Int): GetBlockHeaderResponse
- def withPreviousBlockHash(__v: String): GetBlockHeaderResponse
- def withRawHex(__v: ByteString): GetBlockHeaderResponse
- def withSize(__v: Long): GetBlockHeaderResponse
- def withStrippedSize(__v: Long): GetBlockHeaderResponse
- def withTime(__v: Long): GetBlockHeaderResponse
- def withUnknownFields(__v: UnknownFieldSet): GetBlockHeaderResponse
- def withVersion(__v: Int): GetBlockHeaderResponse
- def withVersionHex(__v: String): GetBlockHeaderResponse
- def withWeight(__v: Long): GetBlockHeaderResponse
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- GetBlockHeaderResponse → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage