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()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GetBlockHeaderResponse
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bits: String
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def companion: GetBlockHeaderResponse.type
    Definition Classes
    GetBlockHeaderResponse → GeneratedMessage
  8. val confirmations: Long
  9. def discardUnknownFields: GetBlockHeaderResponse
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    GetBlockHeaderResponse → GeneratedMessage
  14. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    GetBlockHeaderResponse → GeneratedMessage
  15. val hash: String
  16. val height: Int
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val merkleroot: String
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val nonce: Int
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val ntx: Int
  24. val previousBlockHash: String
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val rawHex: ByteString
  27. def serializedSize: Int
    Definition Classes
    GetBlockHeaderResponse → GeneratedMessage
  28. val size: Long
  29. val strippedSize: Long
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. val time: Long
  32. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  33. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  34. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  35. def toProtoString: String
    Definition Classes
    GetBlockHeaderResponse → GeneratedMessage
  36. val unknownFields: UnknownFieldSet
  37. def update(ms: (Lens[GetBlockHeaderResponse, GetBlockHeaderResponse]) => Mutation[GetBlockHeaderResponse]*): GetBlockHeaderResponse
    Definition Classes
    Updatable
  38. val version: Int
  39. val versionHex: String
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. val weight: Long
  44. def withBits(__v: String): GetBlockHeaderResponse
  45. def withConfirmations(__v: Long): GetBlockHeaderResponse
  46. def withHash(__v: String): GetBlockHeaderResponse
  47. def withHeight(__v: Int): GetBlockHeaderResponse
  48. def withMerkleroot(__v: String): GetBlockHeaderResponse
  49. def withNonce(__v: Int): GetBlockHeaderResponse
  50. def withNtx(__v: Int): GetBlockHeaderResponse
  51. def withPreviousBlockHash(__v: String): GetBlockHeaderResponse
  52. def withRawHex(__v: ByteString): GetBlockHeaderResponse
  53. def withSize(__v: Long): GetBlockHeaderResponse
  54. def withStrippedSize(__v: Long): GetBlockHeaderResponse
  55. def withTime(__v: Long): GetBlockHeaderResponse
  56. def withUnknownFields(__v: UnknownFieldSet): GetBlockHeaderResponse
  57. def withVersion(__v: Int): GetBlockHeaderResponse
  58. def withVersionHex(__v: String): GetBlockHeaderResponse
  59. def withWeight(__v: Long): GetBlockHeaderResponse
  60. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  61. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    GetBlockHeaderResponse → GeneratedMessage
  62. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped