Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EthHTTPClient

This client interacts with the JSON RPC via HTTP/HTTPS

Hierarchy

  • EthHTTPClient

Implements

Index

Constructors

constructor

Methods

cmd

eth_blockNumber

  • eth_blockNumber(): Promise<BigNumber>

eth_getBlockByHash

  • eth_getBlockByHash(hash: string, includeFullTransactions: false): Promise<BlockWithTransactionHashes>
  • eth_getBlockByHash(hash: string, includeFullTransactions: true): Promise<BlockWithFullTransactions>

eth_getBlockByNumber

  • eth_getBlockByNumber(blockNumber: BlockParameter, includeFullTransactions: false): Promise<BlockWithTransactionHashes>
  • eth_getBlockByNumber(blockNumber: BlockParameter, includeFullTransactions: true): Promise<BlockWithFullTransactions>

eth_getLogs

  • eth_getLogs(filter: LogFilter): Promise<Log[]>

eth_getTransactionReceipt

  • eth_getTransactionReceipt(hash: string): Promise<TransactionReceipt>

eth_getTransactionReceipts

  • eth_getTransactionReceipts(hashes: string[]): Promise<TransactionReceipt[]>

eth_sendTransaction

net_version

  • net_version(): Promise<number>

web3_clientVersion

  • web3_clientVersion(): Promise<string>

Generated using TypeDoc