final case class GetBlockResponse(hash: String = "", confirmations: Long = 0L, strippedSize: Long = 0L, size: Long = 0L, weight: Long = 0L, height: Int = 0, version: Int = 0, versionHex: String = "", merkleroot: String = "", tx: Seq[String] = _root_.scala.Seq.empty, 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[GetBlockResponse] 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.

tx

List of transaction ids.

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. GetBlockResponse
  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 GetBlockResponse(hash: String = "", confirmations: Long = 0L, strippedSize: Long = 0L, size: Long = 0L, weight: Long = 0L, height: Int = 0, version: Int = 0, versionHex: String = "", merkleroot: String = "", tx: Seq[String] = _root_.scala.Seq.empty, 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.

    tx

    List of transaction ids.

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

Inherited from Updatable[GetBlockResponse]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped