Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
API त्रुटि कोड और हैंडलिंग
detail
{ "detail": "Insufficient balance" }
code
{ "detail": { "error": { "code": "INSUFFICIENT_BALANCE", "message": "Not enough TRX balance" } } }
200
400
401
403
404
409
422
429
500
INSUFFICIENT_BALANCE
ADDRESS_ALREADY_ACTIVE
ORDER_NOT_FOUND
INVALID_ADDRESS
RATE_LIMITED
PASSKEY_REQUIRED
2FA_REQUIRED
5xx
import time import requests def api_call_with_retry(url, **kwargs): for attempt in range(3): resp = requests.get(url, **kwargs) if resp.status_code == 429 or resp.status_code >= 500: time.sleep(2 ** attempt) continue return resp raise Exception("Max retries exceeded")