Methods
getAccount
-
Parameters
Returns Promise<Account | undefined>
getAllTokens
- getAllTokens(): Promise<keyof Token[]>
-
Returns Promise<keyof Token[]>
getFeeQuote
-
Parameters
Returns Promise<Fee>
getNonce
-
Parameters
Returns Promise<Nonce>
getNonces
-
Parameters
Returns Promise<keyof Nonce[]>
getSwaps
- getSwaps(query: AtomicSwapQuery, minHeight?: undefined | number, maxHeight?: undefined | number): Promise<keyof AtomicSwap[]>
-
Parameters
-
-
Optional minHeight: undefined | number
-
Optional maxHeight: undefined | number
Returns Promise<keyof AtomicSwap[]>
getToken
-
Parameters
Returns Promise<Token | undefined>
height
- height(): Promise<number>
searchTx
- searchTx(query: TransactionQuery): Promise<keyof ConfirmedTransaction<LightTransaction>[]>
-
Parameters
Returns Promise<keyof ConfirmedTransaction<LightTransaction>[]>
withDefaultFee
- withDefaultFee<T>(transaction: T): Promise<T>
-
Type parameters
Parameters
Returns Promise<T>
Static createErc20SwapId
- createErc20SwapId(): Promise<SwapId>
Static createEtherSwapId
- createEtherSwapId(): Promise<SwapId>