@web3-onboard/core
Version:
Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul
12 lines (11 loc) • 408 B
TypeScript
import { Observable } from 'rxjs';
import type { AppState, Action } from '../types.js';
export declare function dispatch(action: Action): void;
declare function select(): Observable<AppState>;
declare function select<T extends keyof AppState>(stateKey: T): Observable<AppState[T]>;
declare function get(): AppState;
export declare const state: {
select: typeof select;
get: typeof get;
};
export {};