Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ResponseGetObjects

Implements

Index

Constructors

constructor

Properties

Private m_current_blockchain_height

m_current_blockchain_height: number = 0

Private m_missed_ids

m_missed_ids: string[] = ...

Private m_raw_blocks

m_raw_blocks: RawBlock[] = ...

Private m_transactions

m_transactions: Transaction[] = ...

Accessors

blocks

  • A list of blocks in the response

    Returns RawBlock[]

  • A list of blocks in the response

    Parameters

    Returns void

current_blockchain_height

  • get current_blockchain_height(): number
  • set current_blockchain_height(value: number): void
  • The current blockchain height

    Returns number

  • The current blockchain height

    Parameters

    • value: number

    Returns void

missed_ids

  • get missed_ids(): string[]
  • set missed_ids(value: string[]): void
  • A list of hashes that we cannot find in our copy of the blockchain

    Returns string[]

  • A list of hashes that we cannot find in our copy of the blockchain

    Parameters

    • value: string[]

    Returns void

transactions

  • A list of transactions in the response

    Returns Transaction[]

  • A list of transactions in the response

    Parameters

    Returns void

Methods

toBuffer

  • toBuffer(): Buffer
  • Provides the Buffer representation of the object

    Returns Buffer

    the buffer representation of the object

toString

  • toString(): string
  • Provides the hexadecimal (blob) representation of the object

    Returns string

    the hexadecimal (blob) representation of the object

Static from

  • Creates a new instance of the object using the supplied data found in the levin packet

    Parameters

    • data: string | Buffer | Reader

      the data contained for the payload in the levin packet

    Returns Promise<ResponseGetObjects>

    a new instance of the object

Generated using TypeDoc