BlockHeader

Info from block header
Protobuf type TW.Tron.Proto.BlockHeader

Types

Link copied to clipboard
class Builder
Info from block header
Protobuf type TW.Tron.Proto.BlockHeader

Functions

Link copied to clipboard
open fun getDefaultInstance(): BlockHeader
Link copied to clipboard
open fun getNumber(): Long
int64 number = 7;
Link copied to clipboard
open fun getParentHash(): ByteString
hash of the parent
bytes parent_hash = 3;
Link copied to clipboard
open fun getTimestamp(): Long
creation timestamp
int64 timestamp = 1;
Link copied to clipboard
open fun getTxTrieRoot(): ByteString
root
bytes tx_trie_root = 2;
Link copied to clipboard
open fun getVersion(): Int
int32 version = 10;
Link copied to clipboard
open fun getWitnessAddress(): ByteString
bytes witness_address = 9;
Link copied to clipboard
open fun newBuilder(prototype: BlockHeader): Tron.BlockHeader.Builder
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): BlockHeader
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): BlockHeader
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): BlockHeader
open fun parseFrom(data: ByteString): BlockHeader
open fun parseFrom(input: CodedInputStream): BlockHeader
open fun parseFrom(input: InputStream): BlockHeader
open fun parseFrom(data: ByteBuffer): BlockHeader
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): BlockHeader
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): BlockHeader
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): BlockHeader
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): BlockHeader
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): BlockHeader
Link copied to clipboard
open fun parser(): Parser<BlockHeader>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard