askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
9 lines (8 loc) • 389 B
TypeScript
import { WalletClient } from "./WalletClient.js";
/**
* Get a wallet client instance
* @param url Optional URL for remote wallet client
* @param privateKey Optional private key for authentication
* @returns A wallet client instance (DB if url is undefined, WalletRemoteClient otherwise)
*/
export declare function getWalletClient(url?: string, privateKey?: Uint8Array): WalletClient;