Skip to content

Documentation / server-auth / Wallet

Interface: Wallet

Object representation of a user's wallet.

Extended by

Properties

address

address: string

The wallet address.


chainId?

chainId?: string

CAIP-2 formatted chain ID during the most recent verification.

e.g. eip155:1, eip155:5, eip155:137, etc.


chainType

chainType: "ethereum" | "solana"

Deprecated

Use chainId instead.

Chain type of the wallet address.


connectorType?

connectorType?: string

The connector type used for this wallet during the most recent verification.

This includes but is not limited to injected, wallet_connect, coinbase_wallet, embedded.


hdWalletIndex?

hdWalletIndex?: number

The index of this wallet for an HD wallet, if the wallet is an embedded wallet.


imported?

imported?: boolean

Whether or not this wallet was imported by the user. Will be undefined if the wallet is not an embedded wallet.


walletClientType?

walletClientType?: string

The wallet client used for this wallet during the most recent verification.

If the value is privy, then this is a privy embedded wallet.

Other values include but are not limited to metamask, rainbow, coinbase_wallet, etc.


walletType?

walletType?: string

Deprecated

Use walletClientType instead.