seedelf_cli::transaction

Function seedelf_minimum_lovelace

Source
pub fn seedelf_minimum_lovelace() -> u64
Expand description

Calculates the minimum lovelace required for a SeedElf transaction.

This function constructs a staged transaction output that includes:

  • A long token name.
  • Inline datum.
  • A specific asset tied to a SeedElf policy ID.

The function then calculates the minimum required lovelace using the calculate_min_required_utxo function.

ยงReturns

  • u64 - The minimum lovelace required for the transaction output.