Ledger balances
View balance lineage
See a balance’s provider breakdown when fund lineage is enabled with the TypeScript SDK.
GET
View balance lineage
Use
blnk.LedgerBalances.getLineage to inspect a balance’s fund breakdown.
Fund lineage must be enabled on the balance when it was created. See Fund lineage.
1
Call the method
blnk.LedgerBalances.getLineage
2
Use the provider breakdown
Read
response.data.providers to see how much each provider contributed, spent, and has available. Use total_with_lineage for the aggregate tracked amount.3
Response
200 OK