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.
Authentication to the GPUhub API to obtain account current balances and other information
POST /api/v1/dev/wallet/balance
None
{ "code": "Success", "data": { "assets": 1000, "accumulate": 1000, "voucher_balance": 1000 }, "msg": "" }
import requests headers = { "Authorization": "Your token" } url = "https://api.gpuhub.com/api/v1/dev/wallet/balance" response = requests.post(url, headers=headers) print(response.content.decode())