getBalanceBreakdown method

Future<CoinBalanceBreakdown> getBalanceBreakdown(
  1. String owner,
  2. String coinType
)

The owner's coinType balance split into coin-object vs address-balance sources — needed to resolve CoinWithBalance intents that may draw from the address balance. Transports without address-balance support (e.g. JSON-RPC) throw; the resolver only reaches this on the gRPC path.

Implementation

Future<CoinBalanceBreakdown> getBalanceBreakdown(
  String owner,
  String coinType,
) async =>
    throw UnimplementedError(
        'getBalanceBreakdown is not supported by this client');