Function prepareCloseOutEscrowTransactions

    • Returns a transaction to close out an escrow.

      Parameters

      • client: AlgodClient | IndexerClient

        Algorand client to query

      • senderAddr: string

        account address for the sender

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Promise<{ escrow: LogicSigAccount; txns: Transaction[] }>

      object containing group transaction and generated escrow account