bsv-p2p-wallet-uat
Version:
A Bitcoin SV Wallet Library
19 lines (18 loc) • 511 B
TypeScript
import HDPrivateKeyManager, { WalletConstructorParams } from "./HDPrivateKey";
import Blockchain from "./Blockchain";
import { BlockchainCache } from ".";
declare class OfflineWallet extends HDPrivateKeyManager {
private index;
blockchain: Blockchain;
cache: BlockchainCache;
constructor({
key,
keyFormat,
language,
network,
...options
}: WalletConstructorParams);
sync(): void;
getBalance(start: number, end: number): number;
}
export default OfflineWallet;