Loading...
Loading...
Manage sub-accounts on Gate Exchange including querying status, listing, creating, locking, and unlocking sub-accounts. Use this skill whenever the user asks about sub-account management, sub-account status, creating sub-accounts, locking or unlocking sub-accounts. Trigger phrases include "sub-account", "subaccount", "sub account status", "create sub-account", "lock sub-account", "unlock sub-account", "list sub-accounts", "my sub-accounts", or any request involving sub-account queries or management operations.
npx skill4agent add gate/gate-skills gate-exchange-subaccount| Tool | Auth | Description |
|---|---|---|
| Yes | Get details of a specific sub-account by user ID |
| Yes | List all sub-accounts under the main account |
| Yes | Create a new normal sub-account |
| Yes | Lock a sub-account to disable login and trading |
| Yes | Unlock a previously locked sub-account |
intentquery_statuslist_allcreatelockunlockuser_idquery_statuslockunlocklogin_namecreate| Signal Keywords | Intent |
|---|---|
| "status of sub-account", "sub-account UID {id}", "check sub-account" | |
| "all sub-accounts", "list sub-accounts", "my sub-accounts", "which sub-accounts" | |
| "create sub-account", "new sub-account", "add sub-account" | |
| "lock sub-account", "disable sub-account", "freeze sub-account" | |
| "unlock sub-account", "enable sub-account", "unfreeze sub-account" | |
query_statuscex_sa_get_sauser_idlogin_nameremarkstatetypecreate_timelist_allcex_sa_list_sastypeuser_idlogin_nameremarkstatecreate_timecreatecex_sa_list_sastypecex_sa_create_salogin_nameemailremarkuser_idlogin_namestatelockuser_idcex_sa_get_sauser_idcex_sa_lock_sauser_idunlockuser_idcex_sa_get_sauser_idcex_sa_unlock_sauser_id| Condition | Action |
|---|---|
| User asks for a specific sub-account status with UID | Route to Case A: |
| User asks to see all sub-accounts | Route to Case B: |
| User wants to create a new sub-account | Route to Case C: |
| User wants to lock a sub-account with UID | Route to Case D: |
| User wants to unlock a sub-account with UID | Route to Case E: |
| UID not provided for operations requiring it | Ask user for the sub-account UID |
| Login name not provided for creation | Ask user for a login name |
| Sub-account already in target state (lock/unlock) | Inform user, no action needed |
| API returns authentication error | Prompt user to log in |
| API returns permission error | Inform user that main account privileges are required |
| Sub-account does not exist or does not belong to user | Inform user the UID is invalid |
Sub-Account Details
---
Username: {login_name}
UID: {user_id}
Status: {state}
Type: {type}
Remark: {remark or "N/A"}
Created: {create_time}Your Sub-Accounts
---
| # | Username | UID | Status | Remark |
|---|----------|-----|--------|--------|
| 1 | {login_name} | {user_id} | {state} | {remark or "-"} |
| 2 | ... | ... | ... | ... |
Total: {count} sub-account(s)Sub-Account Created Successfully
---
Username: {login_name}
UID: {user_id}
Status: Normal
Remark: {remark or "N/A"}
Note: Only normal sub-accounts can be created through this interface.Sub-Account {Action} Successfully
---
Username: {login_name}
UID: {user_id}
Previous Status: {previous_state}
Current Status: {new_state}cex_sa_create_sacex_sa_lock_sacex_sa_unlock_sa| Condition | Response |
|---|---|
| Auth endpoint returns "not login" | "Please log in to your Gate account first." |
| User is not a main account | "Sub-account management requires main account privileges. Please switch to your main account." |
| Sub-account UID not found | "Sub-account with UID {user_id} was not found. Please verify the UID and try again." |
| Sub-account does not belong to user | "This sub-account does not belong to your main account." |
| Sub-account already locked | "Sub-account {user_id} is already locked. No action needed." |
| Sub-account already unlocked | "Sub-account {user_id} is already in normal (unlocked) state. No action needed." |
| Create sub-account fails (limit reached) | "You have reached the maximum number of sub-accounts. Please contact support if you need more." |
| Create sub-account fails (duplicate name) | "The login name '{login_name}' is already taken. Please choose a different name." |
| Unknown error | "An error occurred while processing your request. Please try again later." |