import { BsvNetwork } from "./HDPrivateKey"; import AddressBalance from "./Utils/HTTPResponse/AddressBalance"; import { TxDetails } from "./Utils/HTTPResponse/TxDetails"; import { UnspendTransactionWoC } from "./Utils/HTTPResponse/UnspendTransaction"; import { AccountTxHistory } from "./Utils/TxHistory"; declare class Blockchain { private api; constructor(network: BsvNetwork); static getNetwork(network: BsvNetwork): Blockchain; /** * @param address * @returns the balance at a given adress */ getBalance(address: string): Promise; /** * @param address * @returns */ getBalancesFromAddresses(address: string[]): Promise; getAddressInfo(address: string): Promise; getBulkUTXO(addresses: string[]): Promise<{ height: number; tx_pos: number; tx_hash: string; value: number; privateKeyIndex: number; ownerAddress: string; }[]>; getUnspendTxOuput(address: string): Promise; broadcast(txhex: string): Promise; getRawTx(txhash: any): Promise; getTxDetails(txHash: any): Promise; getHistory(address: string): Promise; } export default Blockchain;