Get Wallet Summary
Retrieves wallet summary information for a specific node, including balance details and rent amount due.
Request
GET /v2/admin/node/{node_id}/summary
Parameters
| Name | Type | In | Description |
|---|---|---|---|
node_id | string | path | Required. The ID of the node to retrieve wallet summary for |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Example
curl --request GET \
--url '\{\{baseUrl\}\}/v2/admin/node/67d5fcdcde5fad5c1fb37d26/summary' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
Response
{
"balance_usdt": 0,
"balance_eth": 0.7,
"rent_amount_due": null
}
Response Fields
| Field | Type | Description |
|---|---|---|
balance_usdt | number | The USDT balance for the node's wallet |
balance_eth | number | The ETH balance for the node's wallet |
rent_amount_due | number | Amount of rent due (null if no rent is due) |
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Node ID does not exist |
| 500 | Internal Server Error |