Documentation
    Preparing search index...

    Type Alias FilsnapContext

    type FilsnapContext = {
        account?: AccountInfo | null;
        config: Partial<SnapConfig>;
        configure: ConfigureFn;
        connect: ConnectFn;
        disconnect: () => Promise<void>;
        error?: Error;
        isConfiguring: boolean;
        isConnected: boolean;
        isConnecting: boolean;
        isLoading: boolean;
        isPending: boolean;
        provider?: EIP1193Provider;
        snap?: FilsnapAdapter;
    }
    Index

    Properties

    account?: AccountInfo | null
    config: Partial<SnapConfig>
    configure: ConfigureFn
    connect: ConnectFn
    disconnect: () => Promise<void>
    error?: Error
    isConfiguring: boolean
    isConnected: boolean

    Snap is connected

    isConnecting: boolean
    isLoading: boolean

    Initial load for provider and auto reconnect

    isPending: boolean
    provider?: EIP1193Provider