UNPKG

btcd-client

Version:
23 lines (22 loc) 844 B
interface BitcoinCoreCredentials { url: string; username: string; password: string; } export declare class BitcoinCoreClient { private client; private id; constructor(credentials: BitcoinCoreCredentials); private makeRequest; getBlockchainInfo(): Promise<any>; getWalletInfo(walletName: string): Promise<any>; getNewAddress(walletName: string): Promise<any>; getTransaction(walletName: string, params: any[]): Promise<any>; listTransactions(walletName: string): Promise<any>; listWallets(): Promise<any>; restoreWallet(walletName: string, params: any[]): Promise<any>; sendToAddress(walletName: string, params: any[]): Promise<any>; unloadWallet(walletName: string, params: any[]): Promise<any>; walletPassphrase(walletName: string, params: any[]): Promise<any>; } export {};