HasLinkAccountResult:
    | { hasLinkAccount: boolean; error?: undefined }
    | { hasLinkAccount?: undefined; error: CryptoOnrampError }

Result of checking whether an email corresponds to an existing Link account.

Type declaration

  • { hasLinkAccount: boolean; error?: undefined }
    • hasLinkAccount: boolean

      True if the email is associated with an existing Link consumer.

    • Optionalerror?: undefined
  • { hasLinkAccount?: undefined; error: CryptoOnrampError }
    • OptionalhasLinkAccount?: undefined
    • error: CryptoOnrampError

      Present if the lookup failed with an error.