Legnext icon

Legnext

Interact with the Legnext API

Account → Get Balance

AI-generated

Summary

Retrieve account balance details from the Legnext API

Inputs

  • note — Optional note displayed in the UI; does not affect the API call.

Output shape

a JSON object containing account balance information (e.g., usdBalance, availableCredits, points)

The response may include null values for some fields; pagination is not applicable.

Examples

Example 1: Get balance for the default account

Resource set to Account, Operation set to Get Balance; no additional request options required.

Example 2: Fetch balance with batching enabled

Enable batching with batchSize 100 and batchInterval 500; all other defaults unchanged.

Example 3: Call with custom proxy and timeout

Set Proxy to "http://proxy.example.com" and Timeout to 30000; leave other options at default.

Discussion