Appearance
Documentation / server-auth / WalletWithMetadata
Interface: WalletWithMetadata
Object representation of a user's wallet, with additional metadata for advanced use cases.
Extends
LinkMetadata
.Wallet
Properties
address
address:
string
The wallet address.
Inherited from
chainId?
chainId?:
string
CAIP-2 formatted chain ID during the most recent verification.
e.g. eip155:1, eip155:5, eip155:137, etc.
Inherited from
chainType
chainType:
"ethereum"
|"solana"
Deprecated
Use chainId
instead.
Chain type of the wallet address.
Inherited from
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
.
Inherited from
server-auth.Wallet.connectorType
delegated?
delegated?:
boolean
Whether or not this wallet was delegated by the user. Will be undefined if the wallet is not an embedded wallet.
Inherited from
firstVerifiedAt
firstVerifiedAt:
null
|Date
Datetime when this account was linked to the user.
Inherited from
LinkMetadata.firstVerifiedAt
hdWalletIndex?
hdWalletIndex?:
number
The index of this wallet for an HD wallet, if the wallet is an embedded wallet.
Inherited from
server-auth.Wallet.hdWalletIndex
imported?
imported?:
boolean
Whether or not this wallet was imported by the user. Will be undefined if the wallet is not an embedded wallet.
Inherited from
latestVerifiedAt
latestVerifiedAt:
null
|Date
Datetime when this account was most recently used as a login/link method by the user.
Inherited from
LinkMetadata.latestVerifiedAt
type
type:
"wallet"
Denotes that this is a wallet account.
Overrides
LinkMetadata.type
verifiedAt
verifiedAt:
Date
Deprecated
use firstVerifiedAt
instead. Datetime when this account was linked to the user or created.
Inherited from
LinkMetadata.verifiedAt
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.
Inherited from
server-auth.Wallet.walletClientType
walletType?
walletType?:
string
Deprecated
Use walletClientType
instead.