Login Session
tronsave_loginAuthenticate the MCP session to TronSave using a wallet signature or internal API key, unlocking wallet and account management tools.
Instructions
Log in to TronSave for the rest of this MCP connection. Provide EXACTLY ONE of: signature = <signature>_<timestamp> produced by the user's wallet over the message from tronsave_get_sign_message (unlocks wallet tools; also loads the wallet's internal API key if it has one), or apiKey = raw TronSave internal API key (unlocks internal-account tools and paymentMethod=internal). The login is bound to the current mcp-session-id automatically — do not pass session ids in later tool arguments. Returns { sessionId, authMode, walletAddress?, hasInternalApiKey, expiresAt, unlocked }. Signed timestamps older than the server limit (default 24h) are rejected with SIGNATURE_EXPIRED. Never ask the user for private keys or seed phrases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Raw API key for internal-tools login. Provide EXACTLY ONE of `apiKey` or `signature`. | |
| signature | No | Signature token in `signature_timestamp` format (timestamp is the signed message). Provide EXACTLY ONE of `apiKey` or `signature`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| authMode | No | Which credential type the session holds. | |
| unlocked | No | Human-readable summary of the tool groups now available. | |
| warnings | No | Non-fatal issues (e.g. internal API key could not be loaded). | |
| expiresAt | No | Session expiry (ISO-8601). | |
| sessionId | No | The MCP session (`mcp-session-id`) the login is bound to. MCP clients resend it automatically; never pass it as a tool argument. | |
| walletAddress | No | Wallet recovered from the signature (signature mode only). | |
| hasInternalApiKey | No | Whether internal-account tools and `paymentMethod=internal` are usable in this session. |