This guide will walk you through how to eject a wallet using the Portal Android SDK.
portal.eject()
at your own risk!POST
request using your Custodian API Key (the same API key you use to create new users) to the /api/v3/custodians/me/clients/${clientId}/prepare-eject
endpoint to allow for this client to perform an eject
operationportal.ejectPrivateKey()
function from your applicationwalletId
in the POST
body. This can be found in the wallets
property of the /api/custodians/me/clients/${clientId}
GET
request.
portal.eject()
:
portal.backup()
.POST /backup
webhook.POST /backup
webhook.SECP256K1
is the curve used by Ethereum and ED25519 is the curve used by solana.You can learn more about signing algorithms and curves here.