exported checkAssembledTx function;