Function Signature
Description
Generates a new MPC wallet and returns the addresses for Ethereum and Solana. The private keys are split across multiple parties and never exist in full on the device.Parameters
This method takes no parameters.Returns
PortalAddresses - An object containing:
| Property | Type | Description |
|---|---|---|
ethereum | String? | The Ethereum/EVM address |
solana | String? | The Solana address |
Example
Errors
| Code | Description |
|---|---|
NOT_INITIALIZED | Portal was not initialized before calling this method |
WALLET_EXISTS | A wallet already exists for this client |