Skip to main content
Package: com.coinbase.cdp.types

Method Details

getUserId

Returns: String - A stable, unique identifier for the end user. The userId must be unique across all end users in the developer’s CDP Project. It must be between 1 and 100 characters long and can only contain alphanumeric characters and hyphens.

getAuthenticationMethods

Returns: AuthenticationMethods

getMfaMethods

Returns: Optional<MfaMethods>

getEvmAccounts

Returns: List<String> - DEPRECATED: Use evmAccountObjects instead for richer account information. The list of EVM account addresses associated with the end user. End users can have up to 10 EVM accounts.

getEvmAccountObjects

Returns: List<EndUserEvmAccount> - The list of EVM accounts associated with the end user. End users can have up to 10 EVM accounts.

getEvmSmartAccounts

Returns: List<String> - DEPRECATED: Use evmSmartAccountObjects instead for richer account information including owner relationships. The list of EVM smart account addresses associated with the end user. Each EVM EOA can own one smart account.

getEvmSmartAccountObjects

Returns: List<EndUserEvmSmartAccount> - The list of EVM smart accounts associated with the end user. Each EVM EOA can own one smart account.

getSolanaAccounts

Returns: List<String> - DEPRECATED: Use solanaAccountObjects instead for richer account information. The list of Solana account addresses associated with the end user. End users can have up to 10 Solana accounts.

getSolanaAccountObjects

Returns: List<EndUserSolanaAccount> - The list of Solana accounts associated with the end user. End users can have up to 10 Solana accounts.

getCreatedAt

Returns: OffsetDateTime - The date and time when the end user was created, in ISO 8601 format.

equals

Overrides: [equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Parameters: other - Object Returns: boolean

getAdditionalProperties

Returns: Map<String,Object>

hashCode

Overrides: [hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Returns: int

toString

Overrides: [toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Returns: String

builder

Returns: EndUser.UserIdStage