Interface EmbeddedCryptoWallet.Builder

  • Method Details

    • network

      The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA.

      Parameters:
      network - The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • network

      The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA.

      Parameters:
      network - The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • linkedAccounts

      EmbeddedCryptoWallet.Builder linkedAccounts(Collection<LinkedAccount> linkedAccounts)

      List of linked accounts linked to this wallet. Each represents a way the end user can authenticate to this wallet.

      Parameters:
      linkedAccounts - List of linked accounts linked to this wallet. Each represents a way the end user can authenticate to this wallet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedAccounts

      EmbeddedCryptoWallet.Builder linkedAccounts(LinkedAccount... linkedAccounts)

      List of linked accounts linked to this wallet. Each represents a way the end user can authenticate to this wallet.

      Parameters:
      linkedAccounts - List of linked accounts linked to this wallet. Each represents a way the end user can authenticate to this wallet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedAccounts

      EmbeddedCryptoWallet.Builder linkedAccounts(Consumer<LinkedAccount.Builder>... linkedAccounts)

      List of linked accounts linked to this wallet. Each represents a way the end user can authenticate to this wallet.

      This is a convenience method that creates an instance of the LinkedAccount.Builder avoiding the need to create one manually via LinkedAccount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to linkedAccounts(List<LinkedAccount>).

      Parameters:
      linkedAccounts - a consumer that will call methods on LinkedAccount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • walletAddress

      EmbeddedCryptoWallet.Builder walletAddress(String walletAddress)

      The wallet address on the specified blockchain network.

      Parameters:
      walletAddress - The wallet address on the specified blockchain network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redirectUrl

      EmbeddedCryptoWallet.Builder redirectUrl(String redirectUrl)

      URL for the end user to complete a provider-specific action such as wallet linking or onboarding.

      Parameters:
      redirectUrl - URL for the end user to complete a provider-specific action such as wallet linking or onboarding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.