Function createRecipientUtxos

  • Description

    Creates an array of UTXOs for each recipient based on their specified amounts and assets.

    Throws

    CreateUtxoError if a recipient has a mint defined but the SPL amount is undefined.

    Parameters

    • __namedParameters: {
          assetLookupTable: string[];
          poseidon: any;
          recipients: Recipient[];
          verifierProgramLookupTable: string[];
      }
      • assetLookupTable: string[]
      • poseidon: any
      • recipients: Recipient[]
      • verifierProgramLookupTable: string[]

    Returns Utxo[]

    An array of Utxos, one for each recipient.

Generated using TypeDoc