Usage
Parameters
externalUserId
(string): Your application’s unique identifier for the userbearerToken
(string): Bearer token for authentication
Return Value
Returns a Promise that resolves to an object containing:publicKey
(string): The wallet’s public address on StarkNetencryptedPrivateKey
(string): The encrypted private key for the wallet
Example Implementation
Related Methods
- createWallet - Create a new wallet for users who don’t have one
- transfer - Send tokens from the retrieved wallet