import { FeeRates, TxHash, TxHistoryParams } from '@xchainjs/xchain-client'; import { Address, Asset, Chain } from '@xchainjs/xchain-util'; import { Balance, Tx, TxsPage, UTXO, UtxoOnlineDataProvider } from '../../types'; import { HaskoinNetwork } from './haskoin-api-types'; export declare class HaskoinProvider implements UtxoOnlineDataProvider { private baseUrl; private asset; private assetDecimals; private haskoinNetwork; constructor(baseUrl: string | undefined, _chain: Chain, asset: Asset, assetDecimals: number, haskoinNetwork: HaskoinNetwork); broadcastTx(txHex: string): Promise; getConfirmedUnspentTxs(address: string): Promise; getUnspentTxs(address: string): Promise; getBalance(address: Address, confirmedOnly?: boolean): Promise; /** * Get transaction history of a given address with pagination options. * By default it will return the transaction history of the current wallet. * * @param {TxHistoryParams} params The options to get transaction history. (optional) * @returns {TxsPage} The transaction history. */ getTransactions(params?: TxHistoryParams): Promise; private mapTransactionToTx; /** * Get the transaction details of a given transaction id. * * @param {string} txId The transaction id. * @returns {Tx} The transaction details of the given transaction id. */ getTransactionData(txId: string): Promise; /** * @throws {Error} Method not implemented. */ getFeeRates(): Promise; /** * * @param utxos * @returns utxo array */ private mapUTXOs; }