Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

use TxRestApi and TxGrpcApi

Hierarchy

  • TxRestClient

Implements

Index

Constructors

  • new TxRestClient(endpoint: string, options?: { timeout?: number }): TxRestClient

Properties

httpClient: default

Methods

  • broadcastBlock(tx: TxRaw): internal.Promise<{ code: number; codespace: string; data: string; gasUsed: number; gasWanted: number; height: number; info: string; logs: RestTxLog[]; rawLog: string; timestamp: string; txHash: string }>
  • simulate(txRaw: TxRaw): internal.Promise<{ gasInfo: { gasUsed: number; gasWanted: number }; result: { data: string; eventsList: { attributes: { key: string; value: string }[]; type: string }[]; log: string } }>

Generated using TypeDoc