Skip to Content
CLIFAQ

FAQ

Exit codes

CodeMeaningSuggested handling
0SuccessContinue.
1Unknown command or runtime error (including non-JSON API bodies)Stop and show the error.
2Invalid argument or missing API KeyFix command arguments or run ts setup.
3Network request failedCheck network connectivity and retry later.
4HTTP/API request failedCheck API Key, endpoint, parameters, or rate limits.

Troubleshooting

SymptomFix
未找到 API KeyRun ts setup YOUR_API_KEY or set TRONSCAN_API_KEY in the environment.
HTTP 401/403Check whether the API Key is valid.
HTTP 429Reduce request rate and retry later.
HTTP 404Check the command arguments or API path.
Network request failedCheck local network connectivity.
Last updated on: