Get balances from one or multiple addresses
getBalances(addresses: string | string[]);
*addresses supports type string, but it's syntactic sugar, the response won't change
await Client.getBalances(['7VW3WKTRDRI7DE6345LEN23C3FDUOT7H']);
{ "7VW3WKTRDRI7DE6345LEN23C3FDUOT7H": { "base": { "stable": 8786869563, "pending": 0, "stable_outputs_count": 16, "pending_outputs_count": 0, "total": 8786869563 } } }
Last updated 11 months ago