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;
}

Type declaration

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

    Snap is connected

  • isConnecting: boolean
  • isLoading: boolean

    Initial load for provider and auto reconnect

  • isPending: boolean
  • Optionalprovider?: EIP1193Provider
  • Optionalsnap?: FilsnapAdapter