The eject feature allows a user to construct a private key that can be imported into another wallet manager, such as MetaMask.
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.ejectWallet()
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.portal.eject()
, they can potentially receive multiple private keys. Here’s an example implementation:
SECP256K1
is the curve used by Ethereum.ED25519
is the curve used by Solana.You can learn more about signing algorithms and curves here.