@quirks/store
Version:
16 lines (15 loc) • 567 B
TypeScript
import { QuirksConfigStore } from '../store';
/**
* Return the current wallet instance
*
* @returns Wallet<unknown, unknown>
*/
export declare function getWallet(store: QuirksConfigStore): import('@quirks/core').Wallet<unknown, unknown> | undefined;
/**
* Get current account address by chainName
*
* @param chainName
* @returns string
*/
export declare function getAddress(store: QuirksConfigStore, chainName: string): string;
export declare function getChain(store: QuirksConfigStore, chainName: string): import('@chain-registry/types').Chain | undefined;