getSlot method

Future<Slot> getSlot(
  1. Transport transport,
  2. int slot, {
  3. String spendCode = "",
})

Requests the given slot from the Satscard. If the spendCode is provided then the private key will also be revealed for SlotStatus.unsealed slots

Implementation

Future<Slot> getSlot(Transport transport, int slot,
        {String spendCode = ""}) =>
    Implementation.instance
        .satscardGetSlot(transport, slot, spendCode, handle)
        .then((value) => _sync(value));