Class TxGroup

    • Field Detail

      • MAX_TX_GROUP_SIZE

        public static int MAX_TX_GROUP_SIZE
    • Method Detail

      • assignGroupID

        public static Transaction[] assignGroupID​(Transaction... txns)
                                           throws IOException
        Assigns group id to a given array of unsigned transactions
        Parameters:
        txns - array of transactions
        Returns:
        array of grouped transactions, optionally filtered with the address parameter.
        Throws:
        IOException
      • assignGroupID

        public static Transaction[] assignGroupID​(Address address,
                                                  Transaction... txns)
                                           throws IOException
        Assigns group id to a given array of unsigned transactions
        Parameters:
        txns - array of transactions
        address - optional sender address specifying which transaction return
        Returns:
        array of grouped transactions, optionally filtered with the address parameter.
        Throws:
        IOException