Get already created wallet

Get already created wallet

POST /generate_wallet/get_wallet

This endpoint allows the retrieval of an existing wallet using the email ID of the user and the network on which the account exists. When a wallet is created using the create API, it is associated with an email address that can be used to retrieve the wallet details, including the wallet address and private key. This endpoint requires the email of the user and network on which the account needs to be created for wallet creation and x-api-key and Lync's API key for request validation.

Headers

Body

Response

{
  "success": true,
  "status": 200,
  "message": "User profile fetched successfully.",
  "data": {
    "id": "<ObjectId>",
    "email": "<user email id>",
    "accountAddress": "<account address of users newly created wallet>",
    "publicKey": "<public key of users newly created wallet>",
    "privateKey": "<private key of users newly created wallet>"
  }
}

Last updated