deriveAddressKit method

  1. @SquadronMethod()
  2. @cardanoAddressKitMarshaler
Future<CardanoAddressKit> deriveAddressKit(
  1. @hdWalletMarshaler HdWallet wallet,
  2. @networkIdMarshaler NetworkId networkId,
  3. int index,
  4. @bip32KeyRoleMarshaler Bip32KeyRole role,
)

Implementation

@SquadronMethod()
@cardanoAddressKitMarshaler
Future<CardanoAddressKit> deriveAddressKit(
  @hdWalletMarshaler HdWallet wallet,
  @networkIdMarshaler NetworkId networkId,
  int index,
  @bip32KeyRoleMarshaler Bip32KeyRole role,
) async =>
    wallet.deriveBaseAddressKit(index: index, role: role, networkId: networkId);