Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default
    • ChainRestTendermintApi

Index

Constructors

  • Parameters

    • endpoint: string
    • Optional options: Record<string, any>

    Returns ChainRestTendermintApi

Properties

client: default

Methods

  • fetchLatestBlock(): internal.Promise<{ header: { app_hash: string; chain_id: string; consensus_hash: string; data_hash: string; evidence_hash: string; height: string; last_block_id: { hash: string; part_set_header: { hash: string; total: 0 } }; last_commit_hash: string; last_results_hash: string; next_validators_hash: string; proposer_address: string; time: internal.Date; validators_hash: string; version: { app: string; block: string } } }>
  • Returns internal.Promise<{ header: { app_hash: string; chain_id: string; consensus_hash: string; data_hash: string; evidence_hash: string; height: string; last_block_id: { hash: string; part_set_header: { hash: string; total: 0 } }; last_commit_hash: string; last_results_hash: string; next_validators_hash: string; proposer_address: string; time: internal.Date; validators_hash: string; version: { app: string; block: string } } }>

  • fetchNodeInfo(): internal.Promise<{ applicationVersion: { app_name: string; build_deps: [{ path: string; sum: string; version: string }]; build_tags: string; cosmos_sdk_version: string; git_commit: string; go_version: string; name: string; version: string }; nodeInfo: { channels: string; default_node_id: string; listen_addr: string; moniker: string; network: string; other: { rpc_address: string; tx_index: string }; protocol_version: { app: string; block: string; p2p: string }; version: string } }>
  • Returns internal.Promise<{ applicationVersion: { app_name: string; build_deps: [{ path: string; sum: string; version: string }]; build_tags: string; cosmos_sdk_version: string; git_commit: string; go_version: string; name: string; version: string }; nodeInfo: { channels: string; default_node_id: string; listen_addr: string; moniker: string; network: string; other: { rpc_address: string; tx_index: string }; protocol_version: { app: string; block: string; p2p: string }; version: string } }>

  • Type Parameters

    • T

    Parameters

    • endpoint: string
    • Optional params: Record<string, any>

    Returns internal.Promise<T>

  • Type Parameters

    • T

    Parameters

    • endpoint: string
    • Optional params: Record<string, any>

    Returns internal.Promise<T>

  • Parameters

    Returns default

Generated using TypeDoc