Skip to content

Documentation / react-auth / getEmbeddedConnectedWallet

Function: getEmbeddedConnectedWallet()

getEmbeddedConnectedWallet(wallets): ConnectedWallet | null

Get the embedded wallet for the user if they have one.

Parameters

wallets: ConnectedWallet[]

ConnectedWallet the array of wallets fetched via useWallets

Returns

ConnectedWallet | null

the embedded wallet if it exists, otherwise null