A sub-account is a deterministic smart account derived from the user’s main account, scoped to a single application. Sub-accounts allow:Documentation Index
Fetch the complete documentation index at: https://docs.startale.com/llms.txt
Use this file to discover all available pages before exploring further.
- Session keys with limited authority.
- Per-application spending limits.
- Project-scoped activity history without polluting the user’s main account.
List sub-accounts
Add a sub-account
{ address, chainId?, factory?, factoryData? }.
Send a transaction from a sub-account
To sign a transaction with the sub-account instead of the main smart account, send awallet_sendCalls request with the from field set to the sub-account address. Gas is sponsored by Startale, so no paymasterService capability is needed.
Sub-accounts share the user’s authentication. They cannot exist without a connected main account.
When to use sub-accounts
| Situation | Use a sub-account? |
|---|---|
| Standard one-shot transactions | No, use the main account. |
| Long-running session with frequent signing | Yes, reduces popup fatigue. |
| Per-application spending caps or allowlists | Yes. |
| Cross-application identity | No. The main account is shared; sub-accounts are per-application. |