Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EthereumConnection

Hierarchy

  • EthereumConnection

Implements

Index

Constructors

constructor

Methods

chainId

disconnect

  • disconnect(): void

getAccount

getAllTokens

  • getAllTokens(): Promise<keyof Token[]>

getBlockHeader

getFeeQuote

getNonce

getNonces

getSwaps

  • getSwaps(query: AtomicSwapQuery, minHeight?: undefined | number, maxHeight?: undefined | number): Promise<keyof AtomicSwap[]>

getToken

getTx

height

  • height(): Promise<number>

listenTx

liveTx

postTx

searchTx

  • searchTx(query: TransactionQuery): Promise<keyof ConfirmedTransaction<LightTransaction>[]>

watchAccount

watchBlockHeaders

watchSwaps

withDefaultFee

  • withDefaultFee<T>(transaction: T): Promise<T>

Static createErc20SwapId

  • createErc20SwapId(): Promise<SwapId>

Static createEtherSwapId

  • createEtherSwapId(): Promise<SwapId>

Static establish

Generated using TypeDoc