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 { SochainNetwork } from './sochain-api-types'; export declare class SochainProvider implements UtxoOnlineDataProvider { private baseUrl; private _apiKey; private asset; private assetDecimals; private sochainNetwork; constructor(baseUrl: string | undefined, apiKey: string, _chain: Chain, asset: Asset, assetDecimals: number, sochainNetwork: SochainNetwork); get apiKey(): string; set apiKey(value: string); 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; /** * 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; private mapUTXOs; /** * helper function tto limit adding to an array * * @param arr array to be added to * @param toAdd elements to add * @param limit do not add more than this limit */ private addArrayUpToLimit; }