Ledger balances
Get balance by indicator
Retrieve a balance by its indicator with the TypeScript SDK.
GET
Get balance by indicator
Use
blnk.LedgerBalances.getByIndicator to look up an internal balance by indicator and currency.
Call the method
blnk.LedgerBalances.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
response.data.balance_id 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.