Ledger balances
Get balance by indicator
Retrieve a balance by its indicator with the Go SDK.
GET
Get balance by indicator
Use
client.LedgerBalance.GetByIndicator to look up an internal balance by indicator and currency.
Call the method
client.LedgerBalance.GetByIndicator
| Field | Type | Description |
|---|---|---|
indicator | string | Balance indicator (for example @World). The SDK URL-encodes this in the request path. |
currency | string | Currency code (for example USD). |
Save the balance ID
Use
balance.BalanceID when you need the canonical ID for transactions or API calls that do not accept indicators.Related docs
Internal balances
How
@ indicators work.Get balance by indicator
HTTP request and response schema.