listSlots method

Future<List<Slot>> listSlots(
  1. Transport transport, {
  2. String spendCode = "",
  3. int limit = 10,
})

Requests every slot from the Satscard. If the spendCode is provided then the private keys will also be available for SlotStatus.unsealed slots

Implementation

Future<List<Slot>> listSlots(Transport transport,
        {String spendCode = "", int limit = 10}) =>
    Implementation.instance
        .satscardListSlots(transport, spendCode, limit, handle)
        .then((value) => _sync(value));