ConnectFnOptions: {
    config?: Partial<SnapConfig>;
    onError?: (error: Error) => void;
    onSettled?: (data?: AccountInfo, error?: Error) => void;
    onSuccess?: (data: AccountInfo) => void;
}

Type declaration

  • Optionalconfig?: Partial<SnapConfig>
  • OptionalonError?: (error: Error) => void
  • OptionalonSettled?: (data?: AccountInfo, error?: Error) => void
  • OptionalonSuccess?: (data: AccountInfo) => void