Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AccountHistoryAPI

Hierarchy

  • AccountHistoryAPI

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly client

client: Client

Methods

call

  • call(method: string, params?: any[] | {}): Promise<any>
  • Convenience for calling account_history_api.

    Parameters

    • method: string
    • Optional params: any[] | {}

    Returns Promise<any>

enumVirtualOps

  • Returns specific range of blocks to retrieve virtual operations for

    Parameters

    Returns Promise<{ next_block_range_begin: number; next_operation_begin: number; ops: AppliedOperation[] }>

getOpsInBlock

  • getOpsInBlock(block_num: number, only_virtual?: boolean, include_reversible?: boolean): Promise<{ ops: AppliedOperation[] }>
  • Returns all operations contained in a block.

    Parameters

    • block_num: number
    • Default value only_virtual: boolean = false
    • Default value include_reversible: boolean = true

    Returns Promise<{ ops: AppliedOperation[] }>

Generated using TypeDoc