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()
- Alphabetic
- By Inheritance
- GetBlockResponse
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- def addAllTx(__vs: Iterable[String]): GetBlockResponse
- def addTx(__vs: String*): GetBlockResponse
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bits: String
- def clearTx: GetBlockResponse
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: GetBlockResponse.type
- Definition Classes
- GetBlockResponse → GeneratedMessage
- val confirmations: Long
- def discardUnknownFields: GetBlockResponse
- 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
- GetBlockResponse → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- GetBlockResponse → 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
- GetBlockResponse → 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
- GetBlockResponse → GeneratedMessage
- val tx: Seq[String]
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[GetBlockResponse, GetBlockResponse]) => Mutation[GetBlockResponse]*): GetBlockResponse
- 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): GetBlockResponse
- def withConfirmations(__v: Long): GetBlockResponse
- def withHash(__v: String): GetBlockResponse
- def withHeight(__v: Int): GetBlockResponse
- def withMerkleroot(__v: String): GetBlockResponse
- def withNonce(__v: Int): GetBlockResponse
- def withNtx(__v: Int): GetBlockResponse
- def withPreviousBlockHash(__v: String): GetBlockResponse
- def withRawHex(__v: ByteString): GetBlockResponse
- def withSize(__v: Long): GetBlockResponse
- def withStrippedSize(__v: Long): GetBlockResponse
- def withTime(__v: Long): GetBlockResponse
- def withTx(__v: Seq[String]): GetBlockResponse
- def withUnknownFields(__v: UnknownFieldSet): GetBlockResponse
- def withVersion(__v: Int): GetBlockResponse
- def withVersionHex(__v: String): GetBlockResponse
- def withWeight(__v: Long): GetBlockResponse
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- GetBlockResponse → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage