In this method, we will decrypt only the public information so you can have a look of what we store in the publicData.
Endpoint: Preview Wallet
POST /api/wallets/preview
This endpoint is used to preview a wallet by decrypting the publicData data inside the ZelfProof (which in the case of the wallet we store the public address of every chain this wallet supports at the moment of creation). This endpoint returns also if it requires a password on top of the biometric encryption.
Request
Endpoint: /api/wallets/preview
Method: POST
Content-Type: application/json
Request Body
The request body should be a JSON object containing the following fields:
zelfProof: string (required) - The ZelfProof is your public key that contains all the information encrypted, which in this case is your secret phrase that is stored inside the ZelfProof.