Create a new sub-account with a signer
| Parameter | Type | Required | Description |
|---|---|---|---|
signer_type | string | Yes | Type of signer. Currently supported: "eoa" |
signer_address | string | Yes (for EOA) | Ethereum address of the EOA signer (0x-prefixed, 40 hex chars) |
| Field | Type | Description |
|---|---|---|
external_id | string | Unique identifier for the sub-account (acc_ prefix) |
signer_type | string | Signer type used for this account |
signer_address | string | Ethereum address of the signer |
legend_wallet_address | string | On-chain wallet address (deterministic from the signer) |
created_at | string | ISO 8601 timestamp |
| Status | Code | Description |
|---|---|---|
| 400 | invalid_params | Invalid signer_type or malformed signer_address |
| 409 | account_already_exists | A sub-account with this signer already exists |
legend_wallet_address is deterministic — it’s computed from the signer address using CREATE2. This means you can predict the wallet address before creating the account.