UNPKG

@tristeroresearch/mach-sdk

Version:

A TypeScript SDK for integrating with Mach's API.

14 lines 583 B
/** * This helper function initializes wallet and public clients for a * specified blockchain network using a provided private key. * @param chain - The chain to create the wallet client for * @param privateKey - The private key of the account (optional) * @returns The wallet client */ import { type WalletClient, type Account, type Hex } from 'viem'; export declare const createWalletClients: (chain: string, privateKey?: Hex) => Promise<{ publicClient: any; walletClient: WalletClient; account: Account; }>; //# sourceMappingURL=createWalletClients.util.d.ts.map