v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Tron Paymaster

Get Paymaster Credit Balance

This endpoint is used to get the credit balance of the user.

get/api/v2/tron/paymaster/balance

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

The MIME type of the request body.

Response

Successfully fetched user balance

statusinteger
okboolean
messagestring

Example response

{
  "status": 200,
  "ok": true,
  "message": "Successfully fetched user balance",
  "data": {
    "balance": "100.00"
  }
}